summaryrefslogtreecommitdiff
path: root/src/roadveh.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-11-20 09:09:57 +0000
committerrubidium <rubidium@openttd.org>2010-11-20 09:09:57 +0000
commit097880c5e221fc3d6f59383e30753ac728c9439f (patch)
treef6b551c4503df8c3407b1c4a0c6e3055d47b204e /src/roadveh.h
parentf80af8f8c8c2cbb3ce97d801f45959b855d2abdc (diff)
downloadopenttd-097880c5e221fc3d6f59383e30753ac728c9439f.tar.xz
(svn r21263) -Fix [FS#3935]: under some circumstances two vehicles could leave a non-drive through road stop at once
Diffstat (limited to 'src/roadveh.h')
-rw-r--r--src/roadveh.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/roadveh.h b/src/roadveh.h
index faaadab35..a76d19f5f 100644
--- a/src/roadveh.h
+++ b/src/roadveh.h
@@ -42,6 +42,7 @@ enum RoadVehicleStates {
/* Bit numbers */
RVS_USING_SECOND_BAY = 1, ///< Only used while in a road stop
+ RVS_ENTERED_STOP = 2, ///< Only set when a vehicle has entered the stop
RVS_DRIVE_SIDE = 4, ///< Only used when retrieving move data
RVS_IN_ROAD_STOP = 5, ///< The vehicle is in a road stop
RVS_IN_DT_ROAD_STOP = 6, ///< The vehicle is in a drive-through road stop