Skip to content

Commit

Permalink
Core/Scripts: Fixed uninitialized values in 5a36a2e
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent-Michael committed Jul 11, 2017
1 parent 4a90411 commit 42622aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/server/game/Entities/Creature/CreatureData.h
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ struct CreatureData
posX(0.0f), posY(0.0f), posZ(0.0f), orientation(0.0f), spawntimesecs(0),
spawndist(0.0f), currentwaypoint(0), curhealth(0), curmana(0), movementType(0),
spawnMask(0), npcflag(0), unit_flags(0), unit_flags2(0), unit_flags3(0), dynamicflags(0),
phaseid(0), phaseGroup(0), dbData(true) { }
phaseid(0), phaseGroup(0), ScriptId(0), dbData(true) { }
uint32 id; // entry in creature_template
uint16 mapid;
uint32 phaseMask;
Expand Down
2 changes: 1 addition & 1 deletion src/server/game/Entities/GameObject/GameObjectData.h
Original file line number Diff line number Diff line change
Expand Up @@ -850,7 +850,7 @@ struct GameObjectAddon
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), phaseid(0), phaseGroup(0), dbData(true) { }
animprogress(0), go_state(GO_STATE_ACTIVE), spawnMask(0), artKit(0), phaseid(0), phaseGroup(0), ScriptId(0), dbData(true) { }
uint32 id; // entry in gamobject_template
uint16 mapid;
uint32 phaseMask;
Expand Down

0 comments on commit 42622aa

Please sign in to comment.