diff options
| author | megamage <none@none> | 2009-05-31 14:26:57 -0500 |
|---|---|---|
| committer | megamage <none@none> | 2009-05-31 14:26:57 -0500 |
| commit | da871e2fc07ef529beea3d3e8a52518bde842775 (patch) | |
| tree | 7314d7c7b03304d75d606874693cf565e95daa28 /src/game/GameObject.h | |
| parent | 8d1f4f9ea0beb503e2a3014abb95263e501ef1c5 (diff) | |
*Move addcre/go functions from opvp to objmgr.
*Do not save respawn time for internally added cre/go.
--HG--
branch : trunk
Diffstat (limited to 'src/game/GameObject.h')
| -rw-r--r-- | src/game/GameObject.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/game/GameObject.h b/src/game/GameObject.h index 0b0245cecd7..3493bec6bb0 100644 --- a/src/game/GameObject.h +++ b/src/game/GameObject.h @@ -417,6 +417,7 @@ enum GOState // from `gameobject` struct GameObjectData { + explicit GameObjectData() : dbData(true) {} uint32 id; // entry in gamobject_template uint16 mapid; uint16 phaseMask; @@ -432,7 +433,8 @@ struct GameObjectData uint32 animprogress; GOState go_state; uint8 spawnMask; - uint32 ArtKit; + uint8 ArtKit; + bool dbData; }; // For containers: [GO_NOT_READY]->GO_READY (close)->GO_ACTIVATED (open) ->GO_JUST_DEACTIVATED->GO_READY -> ... |
