(svn r5400) Typo in 5391, spotted by peter1138
authortron
Wed, 28 Jun 2006 06:46:15 +0000
changeset 4085 43c7d1dd1bfd
parent 4084 5ca6453491c1
child 4086 b7a7be1cec28
(svn r5400) Typo in 5391, spotted by peter1138
console_cmds.c
--- a/console_cmds.c	Wed Jun 28 06:21:03 2006 +0000
+++ b/console_cmds.c	Wed Jun 28 06:46:15 2006 +0000
@@ -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);
 	}