(svn r19678) -Fix (r19607): client status was shown incorrect in the console

This commit is contained in:
rubidium
2010-04-19 19:50:56 +00:00
parent 5850ca2e6d
commit a83194fad3
2 changed files with 4 additions and 1 deletions

View File

@@ -1703,7 +1703,8 @@ void NetworkServerShowStatusToConsole()
{
static const char * const stat_str[] = {
"inactive",
"authorizing",
"authorizing (server password)",
"authorizing (company password)",
"authorized",
"waiting",
"loading map",
@@ -1711,6 +1712,7 @@ void NetworkServerShowStatusToConsole()
"ready",
"active"
};
assert_compile(lengthof(stat_str) == STATUS_END);
NetworkClientSocket *cs;
FOR_ALL_CLIENT_SOCKETS(cs) {