mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 01:15:35 +01:00
*Fix a crash caused by setmap.
--HG-- branch : trunk
This commit is contained in:
@@ -465,7 +465,7 @@ Map::Add(T *obj)
|
||||
assert( grid != NULL );
|
||||
|
||||
AddToGrid(obj,grid,cell);
|
||||
obj->SetMap(this);
|
||||
//obj->SetMap(this);
|
||||
obj->AddToWorld();
|
||||
|
||||
if(obj->isActiveObject())
|
||||
|
||||
Reference in New Issue
Block a user