(svn r7003) -Fix: only the appropriate train owner can now see the "Train is lost" message (peter1138)

This commit is contained in:
KUDr 2006-10-29 13:50:39 +00:00
parent 56c81cc978
commit b2eece5b53
1 changed files with 1 additions and 1 deletions

View File

@ -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,