*Assert !IsInWorld() in set map

--HG--
branch : trunk
This commit is contained in:
megamage
2009-08-10 23:48:20 -05:00
parent d78c9b3925
commit 6cb0466eea

View File

@@ -1692,6 +1692,7 @@ void WorldObject::SendObjectDeSpawnAnim(uint64 guid)
void WorldObject::SetMap(Map * map)
{
ASSERT(map);
ASSERT(!IsInWorld());
m_currMap = map;
}