*Remove assert before the work on summon system is finished. This fix the assert crash.
--HG-- branch : trunk
This commit is contained in:
1 parent
c1a3f51f04
commit
6a7467f6ae
1 file changed
+4
-2
+4
-2
@@ -11220,8 +11220,10 @@ void Unit::RemoveFromWorld()
|
||||
RemoveBindSightAuras();
|
||||
RemoveNotOwnSingleTargetAuras();
|
||||
// if it has charmer or owner, it must be in someone's controllist and server will crash
|
||||
assert(!GetCharmerGUID());
|
||||
assert(!GetOwnerGUID());
|
||||
/*if(GetCharmerGUID())
|
||||
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();
|
||||
|
||||
Reference in new issue
Block a user