Changeset - r1057:59e54a85a034
[Not reviewed]
master
0 1 0
Celestar - 20 years ago 2005-01-18 16:01:35
celestar@openttd.org
(svn r1558) -Fix: [ 1104350 ] Crashed trains do not initiate the lost vehicle
message anymore
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
train_cmd.c
Show inline comments
 
@@ -2746,7 +2746,7 @@ void OnNewDay_Train(Vehicle *v)
 
		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(
0 comments (0 inline, 0 general)