Core/GameObject: Dismount the player when using spellcaster gameobject
Closes issue #2539. --HG-- branch : trunk
This commit is contained in:
1 parent
59da698189
commit
a4f437a523
1 file changed
+1
@@ -1403,6 +1403,7 @@ void GameObject::Use(Unit* user)
|
||||
return;
|
||||
}
|
||||
|
||||
user->RemoveAurasByType(SPELL_AURA_MOUNTED);
|
||||
spellId = info->spellcaster.spellId;
|
||||
|
||||
AddUse();
|
||||
|
||||
Reference in new issue
Block a user