mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +00:00
Cleanup STANDALONE
This commit is contained in:
parent
dd30b09526
commit
2d2bdea553
1 changed files with 4 additions and 5 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue