summaryrefslogtreecommitdiff
path: root/src/vehicle_cmd.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/vehicle_cmd.cpp
parentb8640b986f2a7188b7a21d4093a211b21a926c3e (diff)
downloadopenttd-4de1f3be885730cfa7dad6c6b3a4608f8808ce37.tar.xz
(svn r23540) -Codechange: unify and document vehicle widgets
Diffstat (limited to 'src/vehicle_cmd.cpp')
-rw-r--r--src/vehicle_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicle_cmd.cpp b/src/vehicle_cmd.cpp
index b101a16bc..3dd4943d8 100644
--- a/src/vehicle_cmd.cpp
+++ b/src/vehicle_cmd.cpp
@@ -521,7 +521,7 @@ CommandCost CmdStartStopVehicle(TileIndex tile, DoCommandFlag flags, uint32 p1,
v->vehstatus ^= VS_STOPPED;
if (v->type != VEH_TRAIN) v->cur_speed = 0; // trains can stop 'slowly'
v->MarkDirty();
- SetWindowWidgetDirty(WC_VEHICLE_VIEW, v->index, VVW_WIDGET_START_STOP_VEH);
+ SetWindowWidgetDirty(WC_VEHICLE_VIEW, v->index, WID_VV_START_STOP);
SetWindowDirty(WC_VEHICLE_DEPOT, v->tile);
SetWindowClassesDirty(GetWindowClassForVehicleType(v->type));
}