aboutsummaryrefslogtreecommitdiffstats
path: root/code/client/cl_main.c
diff options
context:
space:
mode:
authorthilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea>2008-04-10 15:37:25 +0000
committerthilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea>2008-04-10 15:37:25 +0000
commitce41605441c55110aa523250987b50235261a6f6 (patch)
tree9a71b593f93e5ba817a94d40a3a04c0ec379b3d4 /code/client/cl_main.c
parent92f7f50f61dffdfa44d4908f7dc662eee9eedcdf (diff)
downloadioquake3-aero-ce41605441c55110aa523250987b50235261a6f6.tar.gz
ioquake3-aero-ce41605441c55110aa523250987b50235261a6f6.zip
Add com_standalone cvar for at-runtime handling of mods that do not require the original quake3 game data.
git-svn-id: svn://svn.icculus.org/quake3/trunk@1309 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/client/cl_main.c')
-rw-r--r--code/client/cl_main.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/code/client/cl_main.c b/code/client/cl_main.c
index 8df950b..589907d 100644
--- a/code/client/cl_main.c
+++ b/code/client/cl_main.c
@@ -1712,9 +1712,8 @@ void CL_CheckForResend( void ) {
case CA_CONNECTING:
// requesting a challenge .. IPv6 users always get in as authorize server supports no ipv6.
#ifndef STANDALONE
- if ( clc.serverAddress.type == NA_IP && !Sys_IsLANAddress( clc.serverAddress ) ) {
+ if (!Cvar_VariableIntegerValue("com_standalone") && clc.serverAddress.type == NA_IP && !Sys_IsLANAddress( clc.serverAddress ) )
CL_RequestAuthorization();
- }
#endif
NET_OutOfBandPrint(NS_CLIENT, clc.serverAddress, "getchallenge");
break;
@@ -3695,6 +3694,7 @@ void CL_ShowIP_f(void) {
Sys_ShowIP();
}
+#ifndef STANDALONE
/*
=================
bool CL_CDKeyValidate
@@ -3758,5 +3758,4 @@ qboolean CL_CDKeyValidate( const char *key, const char *checksum ) {
return qfalse;
}
-
-
+#endif