summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2014-09-21 06:41:11 +0000
committerrubidium <rubidium@openttd.org>2014-09-21 06:41:11 +0000
commit3548195e3ee162f10d21406da97fb67eece6bc28 (patch)
tree0ee9a2950e98db8ab1956ab3a309fad215805900 /src
parentc0771b16570ad583ae530418f7149f2f79b21eb0 (diff)
downloadopenttd-3548195e3ee162f10d21406da97fb67eece6bc28.tar.xz
(svn r26867) -Fix (r26866): hopefully fix MSVC compile error
Diffstat (limited to 'src')
-rw-r--r--src/aircraft_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/aircraft_cmd.cpp b/src/aircraft_cmd.cpp
index 3f66f07c0..1d96bb34e 100644
--- a/src/aircraft_cmd.cpp
+++ b/src/aircraft_cmd.cpp
@@ -725,7 +725,7 @@ int GetAircraftHoldMaxAltitude(const Aircraft *v)
}
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
* between the minimum and the maximum allowed altitude. */