summaryrefslogtreecommitdiff
path: root/src/engine.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-07-16 17:45:34 +0000
committerrubidium <rubidium@openttd.org>2010-07-16 17:45:34 +0000
commite809c05099b09bab8f23a4307e0088247478770c (patch)
tree7d9440f06e05022e329571cb5e22d6294fab6da9 /src/engine.cpp
parent615e7ce38b49d7b76067115ad8444a18a2c7ee20 (diff)
downloadopenttd-e809c05099b09bab8f23a4307e0088247478770c.tar.xz
(svn r20164) -Fix [FS#3870]: inconsistencies w.r.t. to km/h vs km-ish/h as "base" unit for aircraft speeds
Diffstat (limited to 'src/engine.cpp')
-rw-r--r--src/engine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine.cpp b/src/engine.cpp
index e2faf7a42..a814613f1 100644
--- a/src/engine.cpp
+++ b/src/engine.cpp
@@ -293,7 +293,7 @@ uint Engine::GetDisplayMaxSpeed() const
case VEH_AIRCRAFT: {
uint max_speed = GetEngineProperty(this->index, PROP_AIRCRAFT_SPEED, 0);
if (max_speed != 0) {
- return (max_speed * 129) / 10;
+ return (max_speed * 128) / 10;
}
return this->u.air.max_speed;
}