(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

@@ -420,7 +420,8 @@ static void PlayersCheckBankrupt(Player *p)
p->bankrupt_timeout = 0x456;
break;
} else if (owner == _local_player) {
_local_player = _network_playas = PLAYER_SPECTATOR;
_network_playas = PLAYER_SPECTATOR;
SetLocalPlayer(PLAYER_SPECTATOR);
}
#ifdef ENABLE_NETWORK