(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:
rubidium
2006-12-26 12:56:48 +00:00
parent 80c3be09fc
commit 9560a1d9ec
7 changed files with 58 additions and 29 deletions

View File

@@ -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;
}