mirror of https://github.com/OpenTTD/OpenTTD
(svn r26867) -Fix (r26866): hopefully fix MSVC compile error
parent
c0771b1657
commit
3548195e3e
|
@ -725,7 +725,7 @@ int GetAircraftHoldMaxAltitude(const Aircraft *v)
|
||||||
}
|
}
|
||||||
|
|
||||||
template <class T>
|
template <class T>
|
||||||
int GetAircraftFlightLevel(T *v, bool takeoff = false)
|
int GetAircraftFlightLevel(T *v, bool takeoff)
|
||||||
{
|
{
|
||||||
/* Aircraft is in flight. We want to enforce it being somewhere
|
/* Aircraft is in flight. We want to enforce it being somewhere
|
||||||
* between the minimum and the maximum allowed altitude. */
|
* between the minimum and the maximum allowed altitude. */
|
||||||
|
|
Loading…
Reference in New Issue