players.c
changeset 5068 cf09d80ddcf4
parent 5067 870dfdcef898
child 5073 7983f98f3d4c
equal deleted inserted replaced
5067:870dfdcef898 5068:cf09d80ddcf4
   858 
   858 
   859 		/* This is the joining client who wants a new company */
   859 		/* This is the joining client who wants a new company */
   860 		if (_local_player != _network_playas) {
   860 		if (_local_player != _network_playas) {
   861 			assert(_local_player == PLAYER_SPECTATOR && _network_playas == p->index);
   861 			assert(_local_player == PLAYER_SPECTATOR && _network_playas == p->index);
   862 			_local_player = p->index;
   862 			_local_player = p->index;
       
   863 			DoCommandP(0, (_patches.autorenew << 15 ) | (_patches.autorenew_months << 16) | 4, _patches.autorenew_money, NULL, CMD_SET_AUTOREPLACE);
       
   864 
   863 			MarkWholeScreenDirty();
   865 			MarkWholeScreenDirty();
   864 		}
   866 		}
   865 
   867 
   866 #ifdef ENABLE_NETWORK
   868 #ifdef ENABLE_NETWORK
   867 		if (_network_server) {
   869 		if (_network_server) {