aboutsummaryrefslogtreecommitdiff
path: root/src/game/WaypointManager.h
diff options
context:
space:
mode:
authorParadox <none@none>2009-02-09 08:16:34 -0500
committerParadox <none@none>2009-02-09 08:16:34 -0500
commitd230302b16474ff22a35243ffed6236ef4fc7fb9 (patch)
treee3679ad841a47b275756f2721f9aa24a3ee548a6 /src/game/WaypointManager.h
parentb0694d7e5e794b361fa178d55fefdb98cf47e9ca (diff)
Replace tabs with spaces in more files.
--HG-- branch : trunk
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 023fa590961..2e1ac25c369 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;