summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2007-04-28 22:23:10 +0000
committertruelight <truelight@openttd.org>2007-04-28 22:23:10 +0000
commit948ef6dc1b123c921bdd9fdbed768275e2c1f6dd (patch)
tree6a244a663df280d57ee9803683e6748594b33675 /src
parent97e88ca4f1c23d28a09cb02e79bba4f50e07ea40 (diff)
downloadopenttd-948ef6dc1b123c921bdd9fdbed768275e2c1f6dd.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.cpp2
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);