From c81256a2680d5da9b7d7939d1987e4be587b04ac Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 25 Dec 2006 16:14:36 +0000 Subject: (svn r7558) -Fix (FS#464): do not wait till a crashed vehicle is removed before starting to load other vehicles. --- economy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'economy.c') diff --git a/economy.c b/economy.c index 61dc1a20d..9ced54475 100644 --- a/economy.c +++ b/economy.c @@ -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; -- cgit v1.2.3-70-g09d2