mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 09:17:36 +01:00
*Assert !IsInWorld() in set map
--HG-- branch : trunk
This commit is contained in:
@@ -1692,6 +1692,7 @@ void WorldObject::SendObjectDeSpawnAnim(uint64 guid)
|
||||
void WorldObject::SetMap(Map * map)
|
||||
{
|
||||
ASSERT(map);
|
||||
ASSERT(!IsInWorld());
|
||||
m_currMap = map;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user