diff options
author | tron <tron@openttd.org> | 2006-06-28 06:46:15 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2006-06-28 06:46:15 +0000 |
commit | f4a6051979df5e32b59ff049850880678a0e7c2d (patch) | |
tree | e82e05ad46682a059e6d202d2a664aa1941a396c | |
parent | 6e67dc5d47f1b47eaa0eac2532a1c61b062b2c09 (diff) | |
download | openttd-f4a6051979df5e32b59ff049850880678a0e7c2d.tar.xz |
(svn r5400) Typo in 5391, spotted by peter1138
-rw-r--r-- | console_cmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/console_cmds.c b/console_cmds.c index e01b9c6b5..c3725d312 100644 --- a/console_cmds.c +++ b/console_cmds.c @@ -548,7 +548,7 @@ DEF_CONSOLE_CMD(ConStatus) 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); } |