summaryrefslogtreecommitdiff
path: root/src/aircraft_gui.cpp
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2007-01-30 21:10:04 +0000
committerpeter1138 <peter1138@openttd.org>2007-01-30 21:10:04 +0000
commit4438b99ae4f2fab3ae4a57e5fe475b356a61c074 (patch)
treeef47070cdf31f3435f0b446ef917dbd3af38cc27 /src/aircraft_gui.cpp
parent5ebd7391a1e75df6fd94c08f0d7c78db8c8d6cbf (diff)
downloadopenttd-4438b99ae4f2fab3ae4a57e5fe475b356a61c074.tar.xz
(svn r8464) -Revert (r4322): Change back to converting to mph in the GUI code, as 1 mph == 1.6 km/h is too far out for some people.
Diffstat (limited to 'src/aircraft_gui.cpp')
-rw-r--r--src/aircraft_gui.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/aircraft_gui.cpp b/src/aircraft_gui.cpp
index ef641ca7c..5a3572de2 100644
--- a/src/aircraft_gui.cpp
+++ b/src/aircraft_gui.cpp
@@ -261,14 +261,14 @@ static void AircraftViewWndProc(Window *w, WindowEvent *e)
switch (v->current_order.type) {
case OT_GOTO_STATION: {
SetDParam(0, v->current_order.dest);
- SetDParam(1, v->cur_speed * 128 / 10);
+ SetDParam(1, v->cur_speed * 8);
str = STR_HEADING_FOR_STATION + _patches.vehicle_speed;
} break;
case OT_GOTO_DEPOT: {
/* Aircrafts always go to a station, even if you say depot */
SetDParam(0, v->current_order.dest);
- SetDParam(1, v->cur_speed * 128 / 10);
+ SetDParam(1, v->cur_speed * 8);
if (HASBIT(v->current_order.flags, OFB_HALT_IN_DEPOT) && !HASBIT(v->current_order.flags, OFB_PART_OF_ORDERS)) {
str = STR_HEADING_FOR_HANGAR + _patches.vehicle_speed;
} else {
@@ -283,7 +283,7 @@ static void AircraftViewWndProc(Window *w, WindowEvent *e)
default:
if (v->num_orders == 0) {
str = STR_NO_ORDERS + _patches.vehicle_speed;
- SetDParam(0, v->cur_speed * 128 / 10);
+ SetDParam(0, v->cur_speed * 8);
} else {
str = STR_EMPTY;
}