enable (dummy) cdkey calls in standalone mode to prevents mods from crashing
This commit is contained in:
1 parent
a9fdf0ef3b
commit
34d616dbef
2 files changed
+11
-8
No files matched your search
@@ -4162,13 +4162,15 @@ void CL_ShowIP_f(void) {
|
||||
Sys_ShowIP();
|
||||
}
|
||||
|
||||
#ifndef STANDALONE
|
||||
/*
|
||||
=================
|
||||
bool CL_CDKeyValidate
|
||||
=================
|
||||
*/
|
||||
qboolean CL_CDKeyValidate( const char *key, const char *checksum ) {
|
||||
#ifdef STANDALONE
|
||||
return qtrue;
|
||||
#else
|
||||
char ch;
|
||||
byte sum;
|
||||
char chs[3];
|
||||
@@ -4225,5 +4227,5 @@ qboolean CL_CDKeyValidate( const char *key, const char *checksum ) {
|
||||
}
|
||||
|
||||
return qfalse;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
Reference in new issue
Block a user