(svn r21508) -Codechange: move the code to handle the pathfinder's "path found" status to a separate function

This commit is contained in:
rubidium
2010-12-13 21:55:06 +00:00
parent 1a9f3ff913
commit a4289a4e23
3 changed files with 35 additions and 26 deletions

View File

@@ -660,6 +660,7 @@ public:
bool IsEngineCountable() const;
bool HasDepotOrder() const;
void HandlePathfindingResult(bool path_found);
};
#define FOR_ALL_VEHICLES_FROM(var, start) FOR_ALL_ITEMS_FROM(Vehicle, vehicle_index, var, start)