forked from mirror/OpenTTD
(svn r7561) -Fix (FS#431): core and (patches) GUI were not in-sync with respect to autorenew settings. This is only a temporary fix, as the definite fix needs to move the autorenew settings to a per-company settings window.
This commit is contained in:
@@ -1647,7 +1647,8 @@ static int32 ClickChangePlayerCheat(int32 p1, int32 p2)
|
||||
{
|
||||
while (IsValidPlayer((PlayerID)p1)) {
|
||||
if (_players[p1].is_active) {
|
||||
_local_player = (PlayerID)p1;
|
||||
SetLocalPlayer((PlayerID)p1);
|
||||
|
||||
MarkWholeScreenDirty();
|
||||
return _local_player;
|
||||
}
|
||||
|
Reference in New Issue
Block a user