(svn r10285) [0.5] -Backport from trunk (r10284):

- Fix: don't make everyone spectator if 1 joining client failed to create new company (r10284)
This commit is contained in:
truelight 2007-06-22 22:15:49 +00:00
parent 71347cae43
commit e3a245369e
1 changed files with 2 additions and 4 deletions

View File

@ -863,12 +863,10 @@ int32 CmdPlayerCtrl(TileIndex tile, uint32 flags, uint32 p1, uint32 p2)
NetworkClientInfo *ci = &_network_client_info[cid];
ci->client_playas = PLAYER_SPECTATOR;
NetworkUpdateClientInfo(ci->client_index);
} else
#endif /* ENABLE_NETWORK */
{
} else if (_local_player == PLAYER_SPECTATOR) {
_network_playas = PLAYER_SPECTATOR;
SetLocalPlayer(PLAYER_SPECTATOR);
}
#endif /* ENABLE_NETWORK */
break;
}