Mercurial > hg > openttd
changeset 5373:c1617dd54bab draft
(svn r7558) -Fix (FS#464): do not wait till a crashed vehicle is removed before starting to load other vehicles.
author | rubidium <rubidium@openttd.org> |
---|---|
date | Mon, 25 Dec 2006 16:14:36 +0000 |
parents | d0dde9d99921 |
children | 0d23d987ed01 |
files | economy.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/economy.c +++ b/economy.c @@ -1272,7 +1272,7 @@ 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;