*Remove assert before the work on summon system is finished. This fix the assert crash.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-03-21 14:04:11 -06:00
parent c1a3f51f04
commit 6a7467f6ae
+4 -2
View File
@@ -11220,8 +11220,10 @@ void Unit::RemoveFromWorld()
RemoveBindSightAuras(); RemoveBindSightAuras();
RemoveNotOwnSingleTargetAuras(); RemoveNotOwnSingleTargetAuras();
// if it has charmer or owner, it must be in someone's controllist and server will crash // if it has charmer or owner, it must be in someone's controllist and server will crash
assert(!GetCharmerGUID()); /*if(GetCharmerGUID())
assert(!GetOwnerGUID()); sLog.outError("Unit %u has charmer guid when removed from world", GetEntry());
if(GetOwnerGUID());
sLog.outError("Unit %u has owner guid when removed from world", GetEntry());*/
} }
WorldObject::RemoveFromWorld(); WorldObject::RemoveFromWorld();