summaryrefslogtreecommitdiff
path: root/src/ship_cmd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ship_cmd.cpp')
-rw-r--r--src/ship_cmd.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ship_cmd.cpp b/src/ship_cmd.cpp
index dc76d9451..ebb6d9bff 100644
--- a/src/ship_cmd.cpp
+++ b/src/ship_cmd.cpp
@@ -342,6 +342,7 @@ static bool ShipAccelerate(Vehicle *v)
byte t;
spd = min(v->cur_speed + 1, v->vcache.cached_max_speed);
+ spd = min(spd, v->current_order.max_speed * 2);
/* updates statusbar only if speed have changed to save CPU time */
if (spd != v->cur_speed) {