(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 5b47f81b0f
commit 630d5ad766
2 changed files with 2 additions and 2 deletions

View File

@@ -1552,7 +1552,7 @@ void VehiclePayment(Vehicle *front_v)
*/
static void LoadUnloadVehicle(Vehicle *v, int *cargo_left)
{
assert(v->current_order.type == OT_LOADING);
assert(v->current_order.IsType(OT_LOADING));
/* We have not waited enough time till the next round of loading/unloading */
if (--v->load_unload_time_rem != 0) {