Mercurial > hg > openttd
changeset 4085:0946d80b6a73 draft
(svn r5400) Typo in 5391, spotted by peter1138
author | tron <tron@openttd.org> |
---|---|
date | Wed, 28 Jun 2006 06:46:15 +0000 |
parents | 8739a9758df2 |
children | 7127c15ec7e1 |
files | console_cmds.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/console_cmds.c +++ b/console_cmds.c @@ -548,7 +548,7 @@ const NetworkClientInfo *ci = DEREF_CLIENT_INFO(cs); const char* status; - status = (cs->status <= lengthof(stat_str) ? stat_str[cs->status] : "unknown"); + status = (cs->status < lengthof(stat_str) ? stat_str[cs->status] : "unknown"); IConsolePrintF(8, "Client #%1d name: '%s' status: '%s' frame-lag: %3d company: %1d IP: %s unique-id: '%s'", cs->index, ci->client_name, status, lag, ci->client_playas, GetPlayerIP(ci), ci->unique_id); }