diff options
author | truelight <truelight@openttd.org> | 2007-04-28 22:23:10 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2007-04-28 22:23:10 +0000 |
commit | 347bfc7f9f45b51dbc96dfc7c22c74a4e27f53cb (patch) | |
tree | 6a244a663df280d57ee9803683e6748594b33675 /src | |
parent | 6ebe60fc175ac374bf19f29fee1719b06e80a6b7 (diff) | |
download | openttd-347bfc7f9f45b51dbc96dfc7c22c74a4e27f53cb.tar.xz |
(svn r9740) -Fix [FS#709]: removed wrong assert() that could be triggered by removing an order at the wrong moment
Diffstat (limited to 'src')
-rw-r--r-- | src/roadveh_cmd.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/roadveh_cmd.cpp b/src/roadveh_cmd.cpp index 79fa60847..3d7f220fa 100644 --- a/src/roadveh_cmd.cpp +++ b/src/roadveh_cmd.cpp @@ -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); |