Make use of new ToItem() casts
--HG-- branch : trunk
This commit is contained in:
1 parent
c94046b065
commit
4773aad26b
3 files changed
+6
-6
No files matched your search
@@ -101,7 +101,7 @@ Object::~Object()
|
||||
{
|
||||
sLog.outCrash("Object::~Object - guid="UI64FMTD", typeid=%d, entry=%u deleted but still in world!!", GetGUID(), GetTypeId(), GetEntry());
|
||||
if (isType(TYPEMASK_ITEM))
|
||||
sLog.outCrash("Item slot %u", ((Item*)this)->GetSlot());
|
||||
sLog.outCrash("Item slot %u", this->ToItem()->GetSlot());
|
||||
ASSERT(false);
|
||||
RemoveFromWorld();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user