(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)

This commit is contained in:
rubidium
2014-09-21 11:12:42 +00:00
parent ea8de14520
commit 51a1c712f2
4 changed files with 16 additions and 12 deletions

View File

@@ -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