diff options
author | megamage <none@none> | 2009-03-21 14:04:11 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-03-21 14:04:11 -0600 |
commit | 6a7467f6aeb328be8db9b4f8cd82f9abdc0cba29 (patch) | |
tree | 35e6680edc6b139a0cf31326d4c1bef06756ebcf /src/game/Unit.cpp | |
parent | c1a3f51f0439e1c251e58820c489694135646940 (diff) |
*Remove assert before the work on summon system is finished. This fix the assert crash.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r-- | src/game/Unit.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index f3ed7d9d9d6..0ccabfb2054 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -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(); |