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.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/GameObject.cpp b/src/game/GameObject.cpp
index cc0d7f17fb7..b7c46694344 100644
--- a/src/game/GameObject.cpp
+++ b/src/game/GameObject.cpp
@@ -173,6 +173,7 @@ bool GameObject::Create(uint32 guidlow, uint32 name_id, Map *map, uint32 phaseMa
SetUInt32Value(GAMEOBJECT_FACTION, goinfo->faction);
SetUInt32Value(GAMEOBJECT_FLAGS, goinfo->flags);
+ SetUInt16Value(GAMEOBJECT_DYNAMIC, 1, uint16(-1));
SetEntry(goinfo->id);