mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-04 06:00:15 +00:00
(svn r5400) Typo in 5391, spotted by peter1138
This commit is contained in:
parent
6e67dc5d47
commit
f4a6051979
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user