From 6cb0466eea4c647bf65d9637b3820ccef56638ee Mon Sep 17 00:00:00 2001 From: megamage Date: Mon, 10 Aug 2009 23:48:20 -0500 Subject: *Assert !IsInWorld() in set map --HG-- branch : trunk --- src/game/Object.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/game/Object.cpp b/src/game/Object.cpp index 0923af41ffe..6837570bfea 100644 --- a/src/game/Object.cpp +++ b/src/game/Object.cpp @@ -1692,6 +1692,7 @@ void WorldObject::SendObjectDeSpawnAnim(uint64 guid) void WorldObject::SetMap(Map * map) { ASSERT(map); + ASSERT(!IsInWorld()); m_currMap = map; } -- cgit v1.2.3