diff options
author | rubidium <rubidium@openttd.org> | 2008-04-05 23:46:01 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-04-05 23:46:01 +0000 |
commit | 630d5ad766c8632e9b47aed2de97b4996c9fa216 (patch) | |
tree | 1331cafe5b467c7ca22f1040e5e65f6724e81619 /src/economy.cpp | |
parent | 5b47f81b0f6d46a876a24c0384791af123ac4ab7 (diff) | |
download | openttd-630d5ad766c8632e9b47aed2de97b4996c9fa216.tar.xz |
(svn r12585) -Fix (r12584): assumption that assertions were enabled during compilation/testing was flawed.
Diffstat (limited to 'src/economy.cpp')
-rw-r--r-- | src/economy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/economy.cpp b/src/economy.cpp index 79283e664..329fdcbc3 100644 --- a/src/economy.cpp +++ b/src/economy.cpp @@ -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) { |