Core/GameObject: Dismount the player when using spellcaster gameobject

Closes issue #2539.

--HG--
branch : trunk
This commit is contained in:
Shauren
2010-12-19 11:56:37 +01:00
parent 59da698189
commit a4f437a523
@@ -1403,6 +1403,7 @@ void GameObject::Use(Unit* user)
return;
}
user->RemoveAurasByType(SPELL_AURA_MOUNTED);
spellId = info->spellcaster.spellId;
AddUse();