summaryrefslogtreecommitdiff
path: root/src
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
commit400203fb5b75bcad270ac9bf958f13b80c1d1b3b (patch)
tree6bed832573900eb4b5af06a83157e71e882b005d /src
parentb0989a369c0101a23dbde244fd5420a5435cca9d (diff)
downloadopenttd-400203fb5b75bcad270ac9bf958f13b80c1d1b3b.tar.xz
(svn r10497) -Fix (FS#1013,r8464): Ship max speed wrongly shown (benc)
Diffstat (limited to 'src')
-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);
}