src/players.cpp
branchgamebalance
changeset 9908 0fa543611bbe
parent 9906 6f41b8713b65
child 9909 dce9a6923bb7
equal deleted inserted replaced
9907:3b068c3a1c74 9908:0fa543611bbe
   819 			}
   819 			}
   820 			break;
   820 			break;
   821 		}
   821 		}
   822 
   822 
   823 		/* This is the joining client who wants a new company */
   823 		/* This is the joining client who wants a new company */
   824 		if (_local_player != _network_playas) {
   824 		if (_local_player != _network_playas && _network_playas == p->index) {
   825 			assert(_local_player == PLAYER_SPECTATOR && _network_playas == p->index);
   825 			assert(_local_player == PLAYER_SPECTATOR);
   826 			SetLocalPlayer(p->index);
   826 			SetLocalPlayer(p->index);
   827 			MarkWholeScreenDirty();
   827 			MarkWholeScreenDirty();
   828 		}
   828 		}
   829 
   829 
   830 		/* Now that we have a new player, broadcast its autorenew settings to
   830 		/* Now that we have a new player, broadcast its autorenew settings to