diff options
author | rubidium <rubidium@openttd.org> | 2011-12-16 16:58:55 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2011-12-16 16:58:55 +0000 |
commit | 4de1f3be885730cfa7dad6c6b3a4608f8808ce37 (patch) | |
tree | 62f55b8ed6b4d1fa65f5a4cb7c868ad97f5ffe62 /src/vehicle_cmd.cpp | |
parent | b8640b986f2a7188b7a21d4093a211b21a926c3e (diff) | |
download | openttd-4de1f3be885730cfa7dad6c6b3a4608f8808ce37.tar.xz |
(svn r23540) -Codechange: unify and document vehicle widgets
Diffstat (limited to 'src/vehicle_cmd.cpp')
-rw-r--r-- | src/vehicle_cmd.cpp | 2 |
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)); } |