summaryrefslogtreecommitdiff
path: root/src/economy.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-02-04 15:13:20 +0000
committerrubidium <rubidium@openttd.org>2011-02-04 15:13:20 +0000
commit4c5ca174861c4324761b31de5a98a5c9a7d976df (patch)
tree83c8b371d885f2ee61a178e570bcec9474f0a225 /src/economy.cpp
parent71f4067d19b4d861b93bd5f6fe290d9d95eec4fd (diff)
downloadopenttd-4c5ca174861c4324761b31de5a98a5c9a7d976df.tar.xz
(svn r21957) -Cleanup: gotodepot and timetabling settings are more or less useless; just don't use depot orders or timetabling if you don't want to use it
Diffstat (limited to 'src/economy.cpp')
-rw-r--r--src/economy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/economy.cpp b/src/economy.cpp
index af93834e7..a5f338825 100644
--- a/src/economy.cpp
+++ b/src/economy.cpp
@@ -1334,7 +1334,7 @@ static void LoadUnloadVehicle(Vehicle *v, int *cargo_left)
/* We loaded less cargo than possible for all cargo types and it's not full
* load and we're not supposed to wait any longer: stop loading. */
if (!anything_unloaded && full_load_amount == 0 && !(v->current_order.GetLoadType() & OLFB_FULL_LOAD) &&
- (!_settings_game.order.timetabling || v->current_order_time >= (uint)max(v->current_order.wait_time - v->lateness_counter, 0))) {
+ v->current_order_time >= (uint)max(v->current_order.wait_time - v->lateness_counter, 0)) {
SetBit(v->vehicle_flags, VF_STOP_LOADING);
}
} else {