(svn r4876) - Fix: company value is an int64, so display it correctly in 'players' console command
authorglx
Mon, 15 May 2006 23:08:04 +0000
changeset 3852 2d4f76d380df
parent 3851 9ad2f4ec0ac3
child 3853 1a204a464c7b
(svn r4876) - Fix: company value is an int64, so display it correctly in 'players' console command
console_cmds.c
--- a/console_cmds.c	Mon May 15 22:32:27 2006 +0000
+++ b/console_cmds.c	Mon May 15 23:08:04 2006 +0000
@@ -1148,7 +1148,7 @@
 		if (!p->is_active) continue;
 
 		GetString(buffer, STR_00D1_DARK_BLUE + _player_colors[p->index]);
-		IConsolePrintF(8, "#:%d(%s) Company Name: '%s'  Year Founded: %d  Money: %d  Loan: %d  Value: %d", p->index + 1, buffer, _network_player_info[p->index].company_name, p->inaugurated_year + MAX_YEAR_BEGIN_REAL, p->player_money, p->current_loan, CalculateCompanyValue(p));
+		IConsolePrintF(8, "#:%d(%s) Company Name: '%s'  Year Founded: %d  Money: %d  Loan: %d  Value: %" OTTD_PRINTF64 "d", p->index + 1, buffer, _network_player_info[p->index].company_name, p->inaugurated_year + MAX_YEAR_BEGIN_REAL, p->player_money, p->current_loan, CalculateCompanyValue(p));
 	}
 
 	return true;