branch | 0.5 |
changeset 5482 | cf9c0b5d3bb3 |
parent 5387 | 3047d553859c |
child 5515 | 09bd10f069da |
--- a/players.c Tue Apr 10 09:40:36 2007 +0000 +++ b/players.c Tue Apr 10 09:49:41 2007 +0000 @@ -871,8 +871,8 @@ } /* This is the joining client who wants a new company */ - if (_local_player != _network_playas) { - assert(_local_player == PLAYER_SPECTATOR && _network_playas == p->index); + if (_local_player != _network_playas && _network_playas == p->index) { + assert(_local_player == PLAYER_SPECTATOR); SetLocalPlayer(p->index); MarkWholeScreenDirty(); }