(svn r9740) -Fix [FS#709]: removed wrong assert() that could be triggered by removing an order at the wrong moment
authortruelight
Sat, 28 Apr 2007 22:23:10 +0000
changeset 6544 5354749918ff
parent 6543 57dfb0d16b10
child 6545 c2813603c9d8
(svn r9740) -Fix [FS#709]: removed wrong assert() that could be triggered by removing an order at the wrong moment
src/roadveh_cmd.cpp
--- a/src/roadveh_cmd.cpp	Sat Apr 28 15:06:32 2007 +0000
+++ b/src/roadveh_cmd.cpp	Sat Apr 28 22:23:10 2007 +0000
@@ -1575,8 +1575,6 @@
 				TileIndex next_tile = TILE_ADD(v->tile, TileOffsByDir(v->direction));
 				RoadStop::Type type = IsCargoInClass(v->cargo_type, CC_PASSENGERS) ? RoadStop::BUS : RoadStop::TRUCK;
 
-				assert(HASBIT(v->u.road.state, RVS_IS_STOPPING));
-
 				/* Check if next inline bay is free */
 				if (IsDriveThroughStopTile(next_tile) && (GetRoadStopType(next_tile) == type)) {
 					RoadStop *rs_n = GetRoadStopByTile(next_tile, type);