From 6a7467f6aeb328be8db9b4f8cd82f9abdc0cba29 Mon Sep 17 00:00:00 2001 From: megamage Date: Sat, 21 Mar 2009 14:04:11 -0600 Subject: *Remove assert before the work on summon system is finished. This fix the assert crash. --HG-- branch : trunk --- src/game/Unit.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src') 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(); -- cgit v1.2.3