diff options
author | rubidium <rubidium@openttd.org> | 2007-06-24 21:58:05 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-06-24 21:58:05 +0000 |
commit | b8d37ed4b788e8159bf27323bbf71833db58017c (patch) | |
tree | ca57f9dff505fe5151f052f9cda770c40c1487bd /src | |
parent | 9f8c5a97c0d453de3c02969d5a2b8baefd2520cc (diff) | |
download | openttd-b8d37ed4b788e8159bf27323bbf71833db58017c.tar.xz |
(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.
Diffstat (limited to 'src')
-rw-r--r-- | src/console_cmds.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/console_cmds.cpp b/src/console_cmds.cpp index 5f3f320b6..d2717ff28 100644 --- a/src/console_cmds.cpp +++ b/src/console_cmds.cpp @@ -1248,7 +1248,7 @@ DEF_CONSOLE_CMD(ConPlayers) 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], |