aboutsummaryrefslogtreecommitdiff
path: root/src/game/WaypointManager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/WaypointManager.h')
-rw-r--r--src/game/WaypointManager.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/game/WaypointManager.h b/src/game/WaypointManager.h
index 276caea7b33..e9787090ede 100644
--- a/src/game/WaypointManager.h
+++ b/src/game/WaypointManager.h
@@ -25,7 +25,7 @@
struct WaypointData
{
- uint32 id;
+ uint32 id;
float x,y,z;
bool run;
uint32 delay;
@@ -39,21 +39,21 @@ extern UNORDERED_MAP<uint32, WaypointPath*> waypoint_map;
class WaypointStore
{
private :
- uint32 records;
+ uint32 records;
- public:
+ public:
void UpdatePath(uint32 id);
- void Load();
+ void Load();
void Free();
WaypointPath* GetPath(uint32 id)
{
- if(waypoint_map.find(id) != waypoint_map.end())
+ if(waypoint_map.find(id) != waypoint_map.end())
return waypoint_map[id];
- else return 0;
- }
+ else return 0;
+ }
- inline uint32 GetRecordsCount() { return records; }
+ inline uint32 GetRecordsCount() { return records; }
};
extern WaypointStore WaypointMgr;