diff options
author | smatz <smatz@openttd.org> | 2008-01-18 13:02:47 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2008-01-18 13:02:47 +0000 |
commit | dfb91c26ec2504bba971e5f9dfe827ebe751567d (patch) | |
tree | 6f71f95cb20d1693e9d00ae92731d8f772f8f6ac /src/water_cmd.cpp | |
parent | 04da1e1d456322d07e941ca19d35e9dc1020faf1 (diff) | |
download | openttd-dfb91c26ec2504bba971e5f9dfe827ebe751567d.tar.xz |
(svn r11916) -Codechange: use enums from VehicleViewWindowWidgets instead of constants
-Fix: refit button widget was not correctly updated
Diffstat (limited to 'src/water_cmd.cpp')
-rw-r--r-- | src/water_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/water_cmd.cpp b/src/water_cmd.cpp index 319362bea..30784aad5 100644 --- a/src/water_cmd.cpp +++ b/src/water_cmd.cpp @@ -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); |