summaryrefslogtreecommitdiff
path: root/src/ship_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ship_gui.cpp')
-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 d1e64d39a..fd4456c3b 100644
--- a/src/ship_gui.cpp
+++ b/src/ship_gui.cpp
@@ -56,7 +56,7 @@ static void ShipDetailsWndProc(Window *w, WindowEvent *e)
/* Draw max speed */
{
- SetDParam(0, v->max_speed * 10 / 32);
+ SetDParam(0, v->GetDisplayMaxSpeed());
DrawString(2, 25, STR_9813_MAX_SPEED, 0);
}