(svn r9740) -Fix [FS#709]: removed wrong assert() that could be triggered by removing an order at the wrong moment
This commit is contained in:
@@ -1575,8 +1575,6 @@ again:
|
|||||||
TileIndex next_tile = TILE_ADD(v->tile, TileOffsByDir(v->direction));
|
TileIndex next_tile = TILE_ADD(v->tile, TileOffsByDir(v->direction));
|
||||||
RoadStop::Type type = IsCargoInClass(v->cargo_type, CC_PASSENGERS) ? RoadStop::BUS : RoadStop::TRUCK;
|
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 */
|
/* Check if next inline bay is free */
|
||||||
if (IsDriveThroughStopTile(next_tile) && (GetRoadStopType(next_tile) == type)) {
|
if (IsDriveThroughStopTile(next_tile) && (GetRoadStopType(next_tile) == type)) {
|
||||||
RoadStop *rs_n = GetRoadStopByTile(next_tile, type);
|
RoadStop *rs_n = GetRoadStopByTile(next_tile, type);
|
||||||
|
Reference in New Issue
Block a user