enable (dummy) cdkey calls in standalone mode to prevents mods from crashing

This commit is contained in:
Ludwig Nussel 2010-02-28 08:58:03 +00:00
parent a9fdf0ef3b
commit 34d616dbef
2 changed files with 11 additions and 8 deletions

View file

@ -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
}