src/aircraft_gui.cpp
changeset 6519 367d6f96e23f
parent 6443 b8f06d8eb7be
child 6524 44e22a9b2c97
--- a/src/aircraft_gui.cpp	Fri Mar 02 11:36:34 2007 +0000
+++ b/src/aircraft_gui.cpp	Fri Mar 02 12:01:24 2007 +0000
@@ -84,7 +84,7 @@
 
 		/* Draw max speed */
 		{
-			SetDParam(0, v->max_speed * 128 / 10);
+			SetDParam(0, v->max_speed * 10 / 16);
 			DrawString(2, 25, STR_A00E_MAX_SPEED, 0);
 		}
 
@@ -263,14 +263,14 @@
 			switch (v->current_order.type) {
 			case OT_GOTO_STATION: {
 				SetDParam(0, v->current_order.dest);
-				SetDParam(1, v->cur_speed * 8);
+				SetDParam(1, v->cur_speed * 10 / 16);
 				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 * 8);
+				SetDParam(1, v->cur_speed * 10 / 16);
 				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 {
@@ -285,7 +285,7 @@
 			default:
 				if (v->num_orders == 0) {
 					str = STR_NO_ORDERS + _patches.vehicle_speed;
-					SetDParam(0, v->cur_speed * 8);
+					SetDParam(0, v->cur_speed * 10 / 16);
 				} else {
 					str = STR_EMPTY;
 				}