diff options
author | rubidium <rubidium@openttd.org> | 2014-09-21 11:12:42 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2014-09-21 11:12:42 +0000 |
commit | 51a1c712f2f95439fe52679565cc3c3e9a6d23cf (patch) | |
tree | 9c3c8112d51659218cececa2927c1daad685dc74 /src/aircraft_cmd.cpp | |
parent | ea8de14520f6d8e2581f4c3ccab35fc15c427fce (diff) | |
download | openttd-51a1c712f2f95439fe52679565cc3c3e9a6d23cf.tar.xz |
(svn r26872) -Change: give the disaster vehicles the same treatment as aircraft in r26866; make the ascend and descend if needed to cross high mountains (based on patch by ic111)
Diffstat (limited to 'src/aircraft_cmd.cpp')
-rw-r--r-- | src/aircraft_cmd.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/aircraft_cmd.cpp b/src/aircraft_cmd.cpp index 1d96bb34e..2d3d8cf3e 100644 --- a/src/aircraft_cmd.cpp +++ b/src/aircraft_cmd.cpp @@ -36,6 +36,7 @@ #include "core/random_func.hpp" #include "core/backup_type.hpp" #include "zoom_func.h" +#include "disaster_vehicle.h" #include "table/strings.h" @@ -763,6 +764,8 @@ int GetAircraftFlightLevel(T *v, bool takeoff) return z; } +template int GetAircraftFlightLevel(DisasterVehicle *v, bool takeoff = false); + /** * Find the entry point to an airport depending on direction which * the airport is being approached from. Each airport can have up to |