diff --git a/src/aircraft_cmd.cpp b/src/aircraft_cmd.cpp --- 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 ta 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