(svn r5400) Typo in 5391, spotted by peter1138

This commit is contained in:
tron 2006-06-28 06:46:15 +00:00
parent 6302469aa8
commit c617d70111
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}