(svn r21030) -Codechange: move ClientStatus into the network server socket class

This commit is contained in:
rubidium
2010-10-24 20:07:32 +00:00
parent 2cd67a51ac
commit f24c91c487
5 changed files with 23 additions and 23 deletions

View File

@@ -227,7 +227,7 @@ static void DistributeCommandPacket(CommandPacket cp, const NetworkClientSocket
NetworkClientSocket *cs;
FOR_ALL_CLIENT_SOCKETS(cs) {
if (cs->status >= STATUS_MAP) {
if (cs->status >= NetworkClientSocket::STATUS_MAP) {
/* Callbacks are only send back to the client who sent them in the
* first place. This filters that out. */
cp.callback = (cs != owner) ? NULL : callback;