diff options
Diffstat (limited to 'src/game/Creature.h')
-rw-r--r-- | src/game/Creature.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/game/Creature.h b/src/game/Creature.h index fce9854e6cf..457e88cc3e3 100644 --- a/src/game/Creature.h +++ b/src/game/Creature.h @@ -618,11 +618,11 @@ class TRINITY_DLL_SPEC Creature : public Unit uint32 GetGlobalCooldown() const { return m_GlobalCooldown; } - uint32 GetWaypointPath(){return m_path_id;}
- void LoadPath(uint32 pathid) { m_path_id = pathid; }
-
- uint32 GetCurrentWaypointID(){return m_waypointID;}
- void UpdateWaypointID(uint32 wpID){m_waypointID = wpID;}
+ uint32 GetWaypointPath(){return m_path_id;} + void LoadPath(uint32 pathid) { m_path_id = pathid; } + + uint32 GetCurrentWaypointID(){return m_waypointID;} + void UpdateWaypointID(uint32 wpID){m_waypointID = wpID;} protected: bool CreateFromProto(uint32 guidlow,uint32 Entry,uint32 team, const CreatureData *data = NULL); @@ -674,9 +674,9 @@ class TRINITY_DLL_SPEC Creature : public Unit float CombatStartZ; private: - //WaypointMovementGenerator vars
- uint32 m_waypointID;
- uint32 m_path_id;
+ //WaypointMovementGenerator vars + uint32 m_waypointID; + uint32 m_path_id; GridReference<Creature> m_gridRef; CreatureInfo const* m_creatureInfo; // in heroic mode can different from ObjMgr::GetCreatureTemplate(GetEntry()) |