(svn r21954) -Cleanup: remove setting to not show the vehicle speed in the vehicle view

This commit is contained in:
rubidium
2011-02-04 14:37:24 +00:00
parent 3057a26fd5
commit 2ad1279725
7 changed files with 9 additions and 25 deletions

View File

@@ -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) */