Include #ifdef to make it easier to create a stand-alone binary.

This commit is contained in:
Thilo Schulz 2008-04-09 23:43:30 +00:00
parent ca5fabe8c6
commit b3822d03e2
10 changed files with 84 additions and 20 deletions

View file

@ -534,8 +534,10 @@ void SV_ConnectionlessPacket( netadr_t from, msg_t *msg ) {
SV_GetChallenge( from );
} else if (!Q_stricmp(c, "connect")) {
SV_DirectConnect( from );
#ifndef STANDALONE
} else if (!Q_stricmp(c, "ipAuthorize")) {
SV_AuthorizeIpPacket( from );
#endif
} else if (!Q_stricmp(c, "rcon")) {
SVC_RemoteCommand( from, msg );
} else if (!Q_stricmp(c, "disconnect")) {