src/console_cmds.cpp
changeset 7543 c7af23e43b7e
parent 7425 350b9265b7a2
child 7802 4ef9b4643680
equal deleted inserted replaced
7542:58fe4ff6fcf9 7543:c7af23e43b7e
  1246 		if (!p->is_active) continue;
  1246 		if (!p->is_active) continue;
  1247 
  1247 
  1248 		const NetworkPlayerInfo *npi = &_network_player_info[p->index];
  1248 		const NetworkPlayerInfo *npi = &_network_player_info[p->index];
  1249 
  1249 
  1250 		GetString(buffer, STR_00D1_DARK_BLUE + _player_colors[p->index], lastof(buffer));
  1250 		GetString(buffer, STR_00D1_DARK_BLUE + _player_colors[p->index], lastof(buffer));
  1251 		IConsolePrintF(8, "#:%d(%s) Company Name: '%s'  Year Founded: %d  Money: %d  Loan: %d  Value: %" OTTD_PRINTF64 "d  (T:%d, R:%d, P:%d, S:%d) %sprotected",
  1251 		IConsolePrintF(8, "#:%d(%s) Company Name: '%s'  Year Founded: %d  Money: %" OTTD_PRINTF64 "d  Loan: %" OTTD_PRINTF64 "d  Value: %" OTTD_PRINTF64 "d  (T:%d, R:%d, P:%d, S:%d) %sprotected",
  1252 			p->index + 1, buffer, npi->company_name, p->inaugurated_year, p->player_money, p->current_loan, CalculateCompanyValue(p),
  1252 			p->index + 1, buffer, npi->company_name, p->inaugurated_year, p->player_money, p->current_loan, CalculateCompanyValue(p),
  1253 			/* trains      */ npi->num_vehicle[0],
  1253 			/* trains      */ npi->num_vehicle[0],
  1254 			/* lorry + bus */ npi->num_vehicle[1] + npi->num_vehicle[2],
  1254 			/* lorry + bus */ npi->num_vehicle[1] + npi->num_vehicle[2],
  1255 			/* planes      */ npi->num_vehicle[3],
  1255 			/* planes      */ npi->num_vehicle[3],
  1256 			/* ships       */ npi->num_vehicle[4],
  1256 			/* ships       */ npi->num_vehicle[4],