(svn r11916) -Codechange: use enums from VehicleViewWindowWidgets instead of constants
-Fix: refit button widget was not correctly updated
This commit is contained in:
@@ -770,7 +770,7 @@ static void FloodVehicle(Vehicle *v)
|
||||
return;
|
||||
}
|
||||
|
||||
InvalidateWindowWidget(WC_VEHICLE_VIEW, v->index, STATUS_BAR);
|
||||
InvalidateWindowWidget(WC_VEHICLE_VIEW, v->index, VVW_WIDGET_START_STOP_VEH);
|
||||
InvalidateWindow(WC_VEHICLE_DEPOT, v->tile);
|
||||
|
||||
SetDParam(0, pass);
|
||||
|
Reference in New Issue
Block a user