summaryrefslogtreecommitdiff
path: root/src/ground_vehicle.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-12-16 16:58:55 +0000
committerrubidium <rubidium@openttd.org>2011-12-16 16:58:55 +0000
commit4de1f3be885730cfa7dad6c6b3a4608f8808ce37 (patch)
tree62f55b8ed6b4d1fa65f5a4cb7c868ad97f5ffe62 /src/ground_vehicle.cpp
parentb8640b986f2a7188b7a21d4093a211b21a926c3e (diff)
downloadopenttd-4de1f3be885730cfa7dad6c6b3a4608f8808ce37.tar.xz
(svn r23540) -Codechange: unify and document vehicle widgets
Diffstat (limited to 'src/ground_vehicle.cpp')
-rw-r--r--src/ground_vehicle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ground_vehicle.cpp b/src/ground_vehicle.cpp
index 1c706b5c6..8641e78d9 100644
--- a/src/ground_vehicle.cpp
+++ b/src/ground_vehicle.cpp
@@ -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;