diff options
author | rubidium <rubidium@openttd.org> | 2009-05-27 17:17:06 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-05-27 17:17:06 +0000 |
commit | 5df12c37a9089519dadfef611d02a2e7ced52151 (patch) | |
tree | 51abc9c3a41456229b5cb71b8e80f8da734db72a /src | |
parent | b16c9ae6ef4c9760f898af740c9282456d52de79 (diff) | |
download | openttd-5df12c37a9089519dadfef611d02a2e7ced52151.tar.xz |
(svn r16448) -Fix [FS#2909]: road vehicles ending up on the pavement when they are in a drive through station that got removed due to bankruptcy
Diffstat (limited to 'src')
-rw-r--r-- | src/station_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp index 296353f75..d2403bb4f 100644 --- a/src/station_cmd.cpp +++ b/src/station_cmd.cpp @@ -1488,7 +1488,7 @@ CommandCost CmdBuildRoadStop(TileIndex tile, DoCommandFlag flags, uint32 p1, uin static Vehicle *ClearRoadStopStatusEnum(Vehicle *v, void *) { - if (v->type == VEH_ROAD) ClrBit(((RoadVehicle *)v)->state, RVS_IN_DT_ROAD_STOP); + if (v->type == VEH_ROAD) ((RoadVehicle *)v)->state &= RVSB_ROAD_STOP_TRACKDIR_MASK; return NULL; } |