aboutsummaryrefslogtreecommitdiff
path: root/src/game/WaypointManager.h
diff options
context:
space:
mode:
authormegamage <none@none>2009-02-12 17:09:15 -0600
committermegamage <none@none>2009-02-12 17:09:15 -0600
commit6aee5fcbe7473a3cbac12b7e8482a7b98bef8be3 (patch)
tree91ec91d5c19eba9c2fe0e84b1c9dc7047a3de80e /src/game/WaypointManager.h
parent2d2f433b4de1c35b22aaf07854fc0ee11fcb350d (diff)
parentf385747164c3fb278c92ef46fbd6c3da6590bbf0 (diff)
*Merge.
--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 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;