train_cmd.c
changeset 1057 3421ac931b61
parent 1053 dfb5243315f1
child 1060 e8c44e426175
--- a/train_cmd.c	Tue Jan 18 15:26:14 2005 +0000
+++ b/train_cmd.c	Tue Jan 18 16:01:35 2005 +0000
@@ -2746,7 +2746,7 @@
 		CheckIfTrainNeedsService(v);
 
 		// check if train hasn't advanced in its order list for a set number of days
-		if (_patches.lost_train_days && v->num_orders && !(v->vehstatus & VS_STOPPED) && ++v->u.rail.days_since_order_progr >= _patches.lost_train_days && v->owner == _local_player) {
+		if (_patches.lost_train_days && v->num_orders && !(v->vehstatus & (VS_STOPPED | VS_CRASHED) ) && ++v->u.rail.days_since_order_progr >= _patches.lost_train_days && v->owner == _local_player) {
 			v->u.rail.days_since_order_progr = 0;
 			SetDParam(0, v->unitnumber);
 			AddNewsItem(