From 260b8f3f59daecdba8a1f568d668ca26b69d4cda Mon Sep 17 00:00:00 2001 From: Darkvater Date: Fri, 10 Nov 2006 18:34:19 +0000 Subject: [PATCH] (svn r7126) -Synchronize the engine-renew settings of a player when joining a multiplayer game. --- players.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/players.c b/players.c index 623636b95f..3e43145684 100644 --- a/players.c +++ b/players.c @@ -860,6 +860,8 @@ int32 CmdPlayerCtrl(TileIndex tile, uint32 flags, uint32 p1, uint32 p2) if (_local_player != _network_playas) { assert(_local_player == PLAYER_SPECTATOR && _network_playas == p->index); _local_player = p->index; + DoCommandP(0, (_patches.autorenew << 15 ) | (_patches.autorenew_months << 16) | 4, _patches.autorenew_money, NULL, CMD_SET_AUTOREPLACE); + MarkWholeScreenDirty(); }