mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-08 23:19:40 +00:00
(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:
parent
6ebe60fc17
commit
347bfc7f9f
@ -1575,8 +1575,6 @@ again:
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user