From b2eece5b53e33e1d2593b0a6bbe22ef4e24a3796 Mon Sep 17 00:00:00 2001 From: KUDr Date: Sun, 29 Oct 2006 13:50:39 +0000 Subject: [PATCH] (svn r7003) -Fix: only the appropriate train owner can now see the "Train is lost" message (peter1138) --- train_cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/train_cmd.c b/train_cmd.c index 01849cb7e2..6edecc4e6a 100644 --- a/train_cmd.c +++ b/train_cmd.c @@ -2363,7 +2363,7 @@ static byte ChooseTrainTrack(Vehicle* v, TileIndex tile, DiagDirection enterdir, // 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,