(svn r12585) -Fix (r12584): assumption that assertions were enabled during compilation/testing was flawed.

This commit is contained in:
rubidium
2008-04-05 23:46:01 +00:00
parent 3b0e3d8d30
commit 84e3fa75e1
2 changed files with 2 additions and 2 deletions

View File

@@ -3164,7 +3164,7 @@ void Vehicle::BeginLoading()
void Vehicle::LeaveStation()
{
assert(current_order.type == OT_LOADING);
assert(current_order.IsType(OT_LOADING));
/* Only update the timetable if the vehicle was supposed to stop here. */
if (current_order.flags & OFB_NON_STOP) UpdateVehicleTimetable(this, false);