summaryrefslogtreecommitdiff
path: root/src/ship_cmd.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-02-04 14:37:24 +0000
committerrubidium <rubidium@openttd.org>2011-02-04 14:37:24 +0000
commit2ad1279725c08c98db9eaaceb684709f59a6650f (patch)
tree53f916efc3dc42e7e1badddfdbd26c1f75c4365a /src/ship_cmd.cpp
parent3057a26fd5e2cffe9afc6ed5034dcd2c61fb2c6e (diff)
downloadopenttd-2ad1279725c08c98db9eaaceb684709f59a6650f.tar.xz
(svn r21954) -Cleanup: remove setting to not show the vehicle speed in the vehicle view
Diffstat (limited to 'src/ship_cmd.cpp')
-rw-r--r--src/ship_cmd.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ship_cmd.cpp b/src/ship_cmd.cpp
index 6e733d360..972cf9961 100644
--- a/src/ship_cmd.cpp
+++ b/src/ship_cmd.cpp
@@ -307,9 +307,7 @@ static bool ShipAccelerate(Vehicle *v)
/* updates statusbar only if speed have changed to save CPU time */
if (spd != v->cur_speed) {
v->cur_speed = spd;
- if (_settings_client.gui.vehicle_speed) {
- SetWindowWidgetDirty(WC_VEHICLE_VIEW, v->index, VVW_WIDGET_START_STOP_VEH);
- }
+ SetWindowWidgetDirty(WC_VEHICLE_VIEW, v->index, VVW_WIDGET_START_STOP_VEH);
}
/* Convert direction-indepenent speed into direction-dependent speed. (old movement method) */