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

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

No files matched your search

+2
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")) {