*Remove assert before the work on summon system is finished. This fix the assert crash.
--HG-- branch : trunk
This commit is contained in:
+4
-2
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user