Core/Auras: Add some asserions to hunt down reason of a crash in Aura::UpdateTargetMap. Thanks to Shauren for inspiration.
--HG-- branch : trunk
This commit is contained in:
@@ -1321,7 +1321,7 @@ void GameObject::Use(Unit* user)
|
||||
if (user->GetTypeId() != TYPEID_PLAYER)
|
||||
return;
|
||||
|
||||
Player* player = (Player*)user;
|
||||
Player* player = user->ToPlayer();
|
||||
|
||||
Unit* owner = GetOwner();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user