From f4a6051979df5e32b59ff049850880678a0e7c2d Mon Sep 17 00:00:00 2001 From: tron Date: Wed, 28 Jun 2006 06:46:15 +0000 Subject: (svn r5400) Typo in 5391, spotted by peter1138 --- console_cmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- cgit v1.2.3-70-g09d2