mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-09 07:29:44 +00:00
(svn r7003) -Fix: only the appropriate train owner can now see the "Train is lost" message (peter1138)
This commit is contained in:
parent
56c81cc978
commit
b2eece5b53
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user