aboutsummaryrefslogtreecommitdiff
path: root/src/game/GameObject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/GameObject.cpp')
-rw-r--r--src/game/GameObject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/GameObject.cpp b/src/game/GameObject.cpp
index 1a2ed5fb6db..540ea1e0dd7 100644
--- a/src/game/GameObject.cpp
+++ b/src/game/GameObject.cpp
@@ -174,7 +174,7 @@ bool GameObject::Create(uint32 guidlow, uint32 name_id, Map *map, uint32 phaseMa
//Normally non-players do not teleport to other maps.
if(map->IsDungeon() && ((InstanceMap*)map)->GetInstanceData())
{
- ((InstanceMap*)map)->GetInstanceData()->OnObjectCreate(this);
+ ((InstanceMap*)map)->GetInstanceData()->OnObjectCreate(this, true);
}
return true;