diff options
author | rubidium <rubidium@openttd.org> | 2006-12-25 16:14:36 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2006-12-25 16:14:36 +0000 |
commit | c81256a2680d5da9b7d7939d1987e4be587b04ac (patch) | |
tree | 49a462e8194d1f9ca83da2dfa88c7aebc39c83e4 | |
parent | 0cfecfbe3c2c9539717caa75646bffa3b9bca15c (diff) | |
download | openttd-c81256a2680d5da9b7d7939d1987e4be587b04ac.tar.xz |
(svn r7558) -Fix (FS#464): do not wait till a crashed vehicle is removed before starting to load other vehicles.
-rw-r--r-- | economy.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1272,7 +1272,7 @@ static bool LoadWait(const Vehicle* v, const Vehicle* u) FOR_ALL_VEHICLES(x) { if ((x->type != VEH_Train || IsFrontEngine(x)) && // for all locs u->last_station_visited == x->last_station_visited && // at the same station - !(x->vehstatus & VS_STOPPED) && // not stopped + !(x->vehstatus & (VS_STOPPED | VS_CRASHED)) && // not stopped or crashed x->current_order.type == OT_LOADING && // loading u != x) { // not itself bool other_has_any_cargo = false; |