summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2007-04-24 19:05:16 +0000
committerpeter1138 <peter1138@openttd.org>2007-04-24 19:05:16 +0000
commitd7d29cfc1ea16ab1973a73f13f1eec6e1d28337f (patch)
tree87415c778ee732bdcb7d3b407d6d040513a9c95b
parent5f98f22a49afb4bce114b239817a3ea47190f19a (diff)
downloadopenttd-d7d29cfc1ea16ab1973a73f13f1eec6e1d28337f.tar.xz
(svn r9714) -Fix (r8110): Remove invalid assertion triggered by overly long trains being reversed while loading.
-rw-r--r--src/vehicle.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/vehicle.cpp b/src/vehicle.cpp
index 384590e64..f030656b9 100644
--- a/src/vehicle.cpp
+++ b/src/vehicle.cpp
@@ -2933,7 +2933,6 @@ void Vehicle::BeginLoading()
void Vehicle::LeaveStation()
{
- assert(IsTileType(tile, MP_STATION) || type == VEH_SHIP);
assert(current_order.type == OT_LOADING);
current_order.type = OT_LEAVESTATION;
current_order.flags = 0;