economy.c
branch0.5
changeset 5369 4363e2fc3e4a
parent 5284 3c42e8e18392
child 5370 fb39e4250252
--- a/economy.c	Sat Dec 30 23:12:05 2006 +0000
+++ b/economy.c	Sat Dec 30 23:14:39 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;