File diff r21728:6310f7085068 → r21729:37178ad3391a
src/aircraft_cmd.cpp
Show inline comments
 
@@ -33,12 +33,13 @@
 
#include "effectvehicle_func.h"
 
#include "station_base.h"
 
#include "engine_base.h"
 
#include "core/random_func.hpp"
 
#include "core/backup_type.hpp"
 
#include "zoom_func.h"
 
#include "disaster_vehicle.h"
 

	
 
#include "table/strings.h"
 

	
 
#include "safeguards.h"
 

	
 
void Aircraft::UpdateDeltaXY(Direction direction)
 
@@ -760,12 +761,14 @@ int GetAircraftFlightLevel(T *v, bool ta
 
		ClrBit(v->flags, VAF_IN_MAX_HEIGHT_CORRECTION);
 
	}
 

	
 
	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
 
 * four entry points for its approach system so that approaching
 
 * aircraft do not fly through each other or are forced to do 180
 
 * degree turns during the approach. The arrivals are grouped into