From 5df12c37a9089519dadfef611d02a2e7ced52151 Mon Sep 17 00:00:00 2001 From: rubidium Date: Wed, 27 May 2009 17:17:06 +0000 Subject: (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 --- src/station_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; } -- cgit v1.2.3-54-g00ecf