(svn r23540) -Codechange: unify and document vehicle widgets

This commit is contained in:
rubidium
2011-12-16 16:58:55 +00:00
parent 5e11e5d77b
commit 6b404d35b8
10 changed files with 279 additions and 279 deletions

View File

@@ -66,7 +66,7 @@ void GroundVehicle<T, Type>::PowerChanged()
this->gcache.cached_power = total_power;
this->gcache.cached_max_te = max_te;
SetWindowDirty(WC_VEHICLE_DETAILS, this->index);
SetWindowWidgetDirty(WC_VEHICLE_VIEW, this->index, VVW_WIDGET_START_STOP_VEH);
SetWindowWidgetDirty(WC_VEHICLE_VIEW, this->index, WID_VV_START_STOP);
}
this->gcache.cached_max_track_speed = max_track_speed;