network_client.c
changeset 2293 b48192aec903
parent 2186 db48cf29b983
child 2373 e073ec69bf56
equal deleted inserted replaced
2292:0b9d6e4ea0e6 2293:b48192aec903
   525 				_local_player = OWNER_SPECTATOR;
   525 				_local_player = OWNER_SPECTATOR;
   526 			}
   526 			}
   527 		} else {
   527 		} else {
   528 			// take control over an existing company
   528 			// take control over an existing company
   529 			_local_player = _network_playas - 1;
   529 			_local_player = _network_playas - 1;
       
   530 			_patches.autorenew = GetPlayer(_local_player)->engine_renew;
       
   531 			_patches.autorenew_months = GetPlayer(_local_player)->engine_renew_months;
       
   532 			_patches.autorenew_money = GetPlayer(_local_player)->engine_renew_money;
   530 			DeleteWindowById(WC_NETWORK_STATUS_WINDOW, 0);
   533 			DeleteWindowById(WC_NETWORK_STATUS_WINDOW, 0);
   531 		}
   534 		}
   532 	}
   535 	}
   533 
   536 
   534 	return NETWORK_RECV_STATUS_OKAY;
   537 	return NETWORK_RECV_STATUS_OKAY;