diff options
author | rubidium <rubidium@openttd.org> | 2011-02-04 14:37:24 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2011-02-04 14:37:24 +0000 |
commit | 2ad1279725c08c98db9eaaceb684709f59a6650f (patch) | |
tree | 53f916efc3dc42e7e1badddfdbd26c1f75c4365a /src/aircraft_cmd.cpp | |
parent | 3057a26fd5e2cffe9afc6ed5034dcd2c61fb2c6e (diff) | |
download | openttd-2ad1279725c08c98db9eaaceb684709f59a6650f.tar.xz |
(svn r21954) -Cleanup: remove setting to not show the vehicle speed in the vehicle view
Diffstat (limited to 'src/aircraft_cmd.cpp')
-rw-r--r-- | src/aircraft_cmd.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/aircraft_cmd.cpp b/src/aircraft_cmd.cpp index 58a46e4ad..6edc4fff7 100644 --- a/src/aircraft_cmd.cpp +++ b/src/aircraft_cmd.cpp @@ -605,9 +605,7 @@ static int UpdateAircraftSpeed(Aircraft *v, uint speed_limit = SPEED_LIMIT_NONE, /* 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); } /* Adjust distance moved by plane speed setting */ |