aboutsummaryrefslogtreecommitdiff
path: root/src/game/Object.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-08-10 23:48:20 -0500
committermegamage <none@none>2009-08-10 23:48:20 -0500
commit6cb0466eea4c647bf65d9637b3820ccef56638ee (patch)
tree7c3e2ddcb379718359f148acfecd6b83d517c3a3 /src/game/Object.cpp
parentd78c9b39256a8c1a295a8136473acbe18d9248d4 (diff)
*Assert !IsInWorld() in set map
--HG-- branch : trunk
Diffstat (limited to 'src/game/Object.cpp')
-rw-r--r--src/game/Object.cpp1
1 files changed, 1 insertions, 0 deletions
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;
}