Cleanup STANDALONE

This commit is contained in:
Thilo Schulz 2011-02-08 19:51:43 +00:00
parent dd30b09526
commit 2d2bdea553

View file

@ -2794,7 +2794,7 @@ Writes key bindings and archived cvars to config file if modified
===============
*/
void Com_WriteConfiguration( void ) {
#ifndef DEDICATED
#if !defined(DEDICATED) && !defined(STANDALONE)
cvar_t *fs;
#endif
// if we are quiting without fully initializing, make sure
@ -2810,10 +2810,10 @@ void Com_WriteConfiguration( void ) {
Com_WriteConfigToFile( Q3CONFIG_CFG );
// not needed for dedicated
#ifndef DEDICATED
// not needed for dedicated or standalone
#if !defined(DEDICATED) && !defined(STANDALONE)
fs = Cvar_Get ("fs_game", "", CVAR_INIT|CVAR_SYSTEMINFO );
#ifndef STANDALONE
if(!com_standalone->integer)
{
if (UI_usesUniqueCDKey() && fs && fs->string[0] != 0) {
@ -2823,7 +2823,6 @@ void Com_WriteConfiguration( void ) {
}
}
#endif
#endif
}