Skip to content
Permalink
Browse files
(svn r19678) -Fix (r19607): client status was shown incorrect in the …
…console
  • Loading branch information
rubidium42 committed Apr 19, 2010
1 parent 1ce5d3e commit df4d8b3bc9f52496b95ed1f5865ee31de1b07590
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
@@ -85,6 +85,7 @@ enum ClientStatus {
STATUS_DONE_MAP, ///< The client has downloaded the map
STATUS_PRE_ACTIVE, ///< The client is catching up the delayed frames
STATUS_ACTIVE, ///< The client is active within in the game
STATUS_END ///< Must ALWAYS be on the end of this list!! (period)
};

class NetworkClientSocket;
@@ -1703,14 +1703,16 @@ void NetworkServerShowStatusToConsole()
{
static const char * const stat_str[] = {
"inactive",
"authorizing",
"authorizing (server password)",
"authorizing (company password)",
"authorized",
"waiting",
"loading map",
"map done",
"ready",
"active"
};
assert_compile(lengthof(stat_str) == STATUS_END);

NetworkClientSocket *cs;
FOR_ALL_CLIENT_SOCKETS(cs) {

0 comments on commit df4d8b3

Please sign in to comment.