mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-07-01 01:19:51 +01:00
(svn r26867) -Fix (r26866): hopefully fix MSVC compile error
This commit is contained in:
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
Block a user