aboutsummaryrefslogtreecommitdiff
path: root/src/game/GameObject.cpp
diff options
context:
space:
mode:
authorKudlaty <none@none>2009-09-03 23:40:14 +0200
committerKudlaty <none@none>2009-09-03 23:40:14 +0200
commit2465ef00a24118d75edcef60600f4c1603a6ac3b (patch)
treea66eb3fb39716e3994805d6cb27e66630abc7090 /src/game/GameObject.cpp
parent62d4d6cd0cd5128b5edaab2b841f0b6f23b4199a (diff)
Fix bug with going trough things on login. Thanks to Opterman and Nofantasy
--HG-- branch : trunk
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);