summaryrefslogtreecommitdiff
path: root/source/sv_user.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2008-10-26 12:54:24 +0000
committerAndrey Nazarov <skuller@skuller.net>2008-10-26 12:54:24 +0000
commit18d2d6fb9e47cc88d08d0dfbb2f9e268ee29327a (patch)
tree8dbf9680e8d0bf0b78ed1b49fe9bdcf9ef2d2795 /source/sv_user.c
parent8a4e5f5516e94fe901a332bce7eef9b824f225c6 (diff)
Cleaned up `sys_win.c', moved some code into `win_ac.c' and `win_dbg.c'.
Fixed broken `sv_ac.c' compilation.
Diffstat (limited to 'source/sv_user.c')
-rw-r--r--source/sv_user.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/sv_user.c b/source/sv_user.c
index 29f36d2..c57eabb 100644
--- a/source/sv_user.c
+++ b/source/sv_user.c
@@ -421,7 +421,7 @@ void SV_New_f( void ) {
// send version string request
if( oldstate == cs_assigned ) {
SV_ClientCommand( sv_client, "cmd \177c version $version\n"
-#if USE_ANTICHEAT & 2
+#if USE_AC_SERVER
"cmd \177c actoken $actoken\n"
#endif
);
@@ -488,7 +488,7 @@ void SV_Begin_f( void ) {
return;
}
-#if USE_ANTICHEAT & 2
+#if USE_AC_SERVER
if( !AC_ClientBegin( sv_client ) ) {
return;
}
@@ -506,7 +506,7 @@ void SV_Begin_f( void ) {
// call the game begin function
ge->ClientBegin( sv_player );
-#if USE_ANTICHEAT & 2
+#if USE_AC_SERVER
AC_ClientAnnounce( sv_client );
#endif
}
@@ -779,14 +779,14 @@ static void SV_CvarResult_f( void ) {
}
}
}
-#if USE_ANTICHEAT & 2
+#if USE_AC_SERVER
else if( !strcmp( c, "actoken" ) ) {
AC_ClientToken( sv_client, Cmd_Argv( 2 ) );
}
#endif
}
-#if USE_ANTICHEAT & 2
+#if USE_AC_SERVER
static void SV_AC_List_f( void ) {
SV_BeginRedirect( RD_CLIENT );
@@ -830,7 +830,7 @@ static const ucmd_t ucmds[] = {
#if USE_PACKETDUP
{ "packetdup", SV_PacketdupHack_f },
#endif
-#if USE_ANTICHEAT & 2
+#if USE_AC_SERVER
{ "aclist", SV_AC_List_f },
{ "acinfo", SV_AC_Info_f },
#else