Core/WaypointMgr: Fixed crashes when loading data with waypoint_data.id=0 and fixed memory leaks in .wp reload command

This commit is contained in:
Shauren
2011-05-24 23:13:47 +02:00
parent d9390bdd09
commit cb608283b2
4 changed files with 64 additions and 69 deletions
@@ -85,7 +85,7 @@ class WaypointMovementGenerator
WaypointData *node;
uint32 path_id;
TimeTrackerSmall i_nextMoveTime;
WaypointPath *waypoints;
WaypointPath const* waypoints;
bool repeating, StopedByPlayer;
};