# HG changeset patch # User KUDr # Date 2006-10-29 13:50:39 # Node ID 8c088c2fc3f1f65f8ffffcadf28c3545f2a0c996 # Parent 1c959f26648bad1691314f1f6cb0774fb905bc13 (svn r7003) -Fix: only the appropriate train owner can now see the "Train is lost" message (peter1138) diff --git a/train_cmd.c b/train_cmd.c --- a/train_cmd.c +++ b/train_cmd.c @@ -2363,7 +2363,7 @@ static byte ChooseTrainTrack(Vehicle* v, // it is first time the problem occurred, set the "path not found" flag SETBIT(v->u.rail.flags, VRF_NO_PATH_TO_DESTINATION); // and notify user about the event - if (_patches.lost_train_warn) { + if (_patches.lost_train_warn && v->owner == _local_player) { SetDParam(0, v->unitnumber); AddNewsItem( STR_TRAIN_IS_LOST,