aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r--src/game/Unit.cpp6
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();