mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 09:44:45 +01:00
*Remove assert before the work on summon system is finished. This fix the assert crash.
--HG-- branch : trunk
This commit is contained in:
@@ -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