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/ground_vehicle.hpp | |
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/ground_vehicle.hpp')
-rw-r--r-- | src/ground_vehicle.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ground_vehicle.hpp b/src/ground_vehicle.hpp index c2bd97151..6d6932e0d 100644 --- a/src/ground_vehicle.hpp +++ b/src/ground_vehicle.hpp @@ -340,7 +340,7 @@ struct GroundVehicle : public SpecializedVehicle<T, Type> { FORCEINLINE void SetLastSpeed() { if (this->cur_speed != this->gcache.last_speed) { - if (_settings_client.gui.vehicle_speed || (this->gcache.last_speed == 0) != (this->cur_speed == 0)) { + if ((this->gcache.last_speed == 0) != (this->cur_speed == 0)) { SetWindowWidgetDirty(WC_VEHICLE_VIEW, this->index, VVW_WIDGET_START_STOP_VEH); } this->gcache.last_speed = this->cur_speed; |