[7730] Some optimizantion and code style. Author: zhenya
--HG-- branch : trunk
This commit is contained in:
@@ -99,8 +99,8 @@ class Transport : protected GameObject
|
||||
|
||||
typedef std::map<uint32, WayPoint> WayPointMap;
|
||||
|
||||
WayPointMap::iterator m_curr;
|
||||
WayPointMap::iterator m_next;
|
||||
WayPointMap::const_iterator m_curr;
|
||||
WayPointMap::const_iterator m_next;
|
||||
uint32 m_pathTime;
|
||||
uint32 m_timer;
|
||||
|
||||
@@ -114,7 +114,7 @@ class Transport : protected GameObject
|
||||
private:
|
||||
void TeleportTransport(uint32 newMapid, float x, float y, float z);
|
||||
void UpdateForMap(Map const* map);
|
||||
WayPointMap::iterator GetNextWayPoint();
|
||||
WayPointMap::const_iterator GetNextWayPoint();
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user