summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2007-07-10 07:10:23 +0000
committerpeter1138 <peter1138@openttd.org>2007-07-10 07:10:23 +0000
commit0f2d37a1132c813d5dccf358daa13bfae61cebbb (patch)
tree6bed832573900eb4b5af06a83157e71e882b005d
parenta5da0e66099f53fba150438fee5ddcde0f3bdfcd (diff)
downloadopenttd-0f2d37a1132c813d5dccf358daa13bfae61cebbb.tar.xz
(svn r10497) -Fix (FS#1013,r8464): Ship max speed wrongly shown (benc)
-rw-r--r--src/ship_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ship_gui.cpp b/src/ship_gui.cpp
index bf931167b..dcfb61d7d 100644
--- a/src/ship_gui.cpp
+++ b/src/ship_gui.cpp
@@ -55,7 +55,7 @@ static void ShipDetailsWndProc(Window *w, WindowEvent *e)
/* Draw max speed */
{
- SetDParam(0, v->max_speed / 2);
+ SetDParam(0, v->max_speed * 10 / 32);
DrawString(2, 25, STR_9813_MAX_SPEED, 0);
}