(svn r10312) -Fix (r10210): the 64 values in the 'players' console command were not printed properly; they did even "overflow" into the next to-be-printed values.
authorrubidium
Sun, 24 Jun 2007 21:58:05 +0000
changeset 7543 c7af23e43b7e
parent 7542 58fe4ff6fcf9
child 7544 74528540f256
(svn r10312) -Fix (r10210): the 64 values in the 'players' console command were not printed properly; they did even "overflow" into the next to-be-printed values.
src/console_cmds.cpp
--- a/src/console_cmds.cpp	Sun Jun 24 20:44:36 2007 +0000
+++ b/src/console_cmds.cpp	Sun Jun 24 21:58:05 2007 +0000
@@ -1248,7 +1248,7 @@
 		const NetworkPlayerInfo *npi = &_network_player_info[p->index];
 
 		GetString(buffer, STR_00D1_DARK_BLUE + _player_colors[p->index], lastof(buffer));
-		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",
+		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",
 			p->index + 1, buffer, npi->company_name, p->inaugurated_year, p->player_money, p->current_loan, CalculateCompanyValue(p),
 			/* trains      */ npi->num_vehicle[0],
 			/* lorry + bus */ npi->num_vehicle[1] + npi->num_vehicle[2],