summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/aircraft_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/aircraft_cmd.cpp b/src/aircraft_cmd.cpp
index 066fe6a8c..c66d47881 100644
--- a/src/aircraft_cmd.cpp
+++ b/src/aircraft_cmd.cpp
@@ -544,7 +544,7 @@ void UpdateAircraftCache(Aircraft *v)
v->vcache.cached_max_speed = max_speed;
} else {
/* Use the default max speed of the vehicle. */
- v->vcache.cached_max_speed = v->max_speed;
+ v->vcache.cached_max_speed = AircraftVehInfo(v->engine_type)->max_speed;
}
}