diff options
| author | megamage <none@none> | 2009-08-10 23:48:20 -0500 |
|---|---|---|
| committer | megamage <none@none> | 2009-08-10 23:48:20 -0500 |
| commit | 6cb0466eea4c647bf65d9637b3820ccef56638ee (patch) | |
| tree | 7c3e2ddcb379718359f148acfecd6b83d517c3a3 /src | |
| parent | d78c9b39256a8c1a295a8136473acbe18d9248d4 (diff) | |
*Assert !IsInWorld() in set map
--HG--
branch : trunk
Diffstat (limited to 'src')
| -rw-r--r-- | src/game/Object.cpp | 1 |
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; } |
