# HG changeset patch # User Celestar # Date 2005-01-18 16:01:35 # Node ID 59e54a85a034b3ec1cfddf2093b0cd1e151f7a20 # Parent 1f54c6d5814b11d1d2ef656e30694003c067947f (svn r1558) -Fix: [ 1104350 ] Crashed trains do not initiate the lost vehicle message anymore diff --git a/train_cmd.c b/train_cmd.c --- a/train_cmd.c +++ b/train_cmd.c @@ -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(