aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorariel- <ariel-@users.noreply.github.com>2017-04-04 17:24:34 -0300
committerGitHub <noreply@github.com>2017-04-04 17:24:34 -0300
commitab5920fc1cd490b0c4fce46d66afc3e32c955d9a (patch)
tree610d1fd4bc2f4fc385d1069cefb8f248542f61cd
parent8cc140d17b25207455a73da8e4e1c9f89bf0b172 (diff)
Core/GameObject: fix unitialized member on GameObjectData
-rw-r--r--src/server/game/Entities/GameObject/GameObject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Entities/GameObject/GameObject.h b/src/server/game/Entities/GameObject/GameObject.h
index d93cc5a2644..cdc2dcf36b1 100644
--- a/src/server/game/Entities/GameObject/GameObject.h
+++ b/src/server/game/Entities/GameObject/GameObject.h
@@ -640,7 +640,7 @@ enum GOState
struct GameObjectData
{
explicit GameObjectData() : id(0), mapid(0), phaseMask(0), posX(0.0f), posY(0.0f), posZ(0.0f), orientation(0.0f), spawntimesecs(0),
- animprogress(0), go_state(GO_STATE_ACTIVE), spawnMask(0), artKit(0), dbData(true) { }
+ animprogress(0), go_state(GO_STATE_ACTIVE), spawnMask(0), artKit(0), ScriptId(0), dbData(true) { }
uint32 id; // entry in gamobject_template
uint16 mapid;
uint32 phaseMask;