economy.c
changeset 5561 e91dafc6c3b7
parent 5284 3c42e8e18392
child 5370 fb39e4250252
--- a/economy.c	Mon Dec 25 09:50:56 2006 +0000
+++ b/economy.c	Mon Dec 25 16:14:36 2006 +0000
@@ -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;