diff options
author | rubidium <rubidium@openttd.org> | 2010-12-13 21:55:06 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-12-13 21:55:06 +0000 |
commit | 6d831906a3da98d357149c6a56915f9fb06b417b (patch) | |
tree | 9ec530e4aa2fc575810b39481d15e329eb201cbb /src/vehicle_base.h | |
parent | 55a0e31c44f178d2f77049eace489838d97e7ef0 (diff) | |
download | openttd-6d831906a3da98d357149c6a56915f9fb06b417b.tar.xz |
(svn r21508) -Codechange: move the code to handle the pathfinder's "path found" status to a separate function
Diffstat (limited to 'src/vehicle_base.h')
-rw-r--r-- | src/vehicle_base.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vehicle_base.h b/src/vehicle_base.h index f0cd76628..642b80424 100644 --- a/src/vehicle_base.h +++ b/src/vehicle_base.h @@ -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) |