mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-10 23:02:01 +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 ) {
|
void Com_WriteConfiguration( void ) {
|
||||||
#ifndef DEDICATED
|
#if !defined(DEDICATED) && !defined(STANDALONE)
|
||||||
cvar_t *fs;
|
cvar_t *fs;
|
||||||
#endif
|
#endif
|
||||||
// if we are quiting without fully initializing, make sure
|
// if we are quiting without fully initializing, make sure
|
||||||
|
@ -2810,10 +2810,10 @@ void Com_WriteConfiguration( void ) {
|
||||||
|
|
||||||
Com_WriteConfigToFile( Q3CONFIG_CFG );
|
Com_WriteConfigToFile( Q3CONFIG_CFG );
|
||||||
|
|
||||||
// not needed for dedicated
|
// not needed for dedicated or standalone
|
||||||
#ifndef DEDICATED
|
#if !defined(DEDICATED) && !defined(STANDALONE)
|
||||||
fs = Cvar_Get ("fs_game", "", CVAR_INIT|CVAR_SYSTEMINFO );
|
fs = Cvar_Get ("fs_game", "", CVAR_INIT|CVAR_SYSTEMINFO );
|
||||||
#ifndef STANDALONE
|
|
||||||
if(!com_standalone->integer)
|
if(!com_standalone->integer)
|
||||||
{
|
{
|
||||||
if (UI_usesUniqueCDKey() && fs && fs->string[0] != 0) {
|
if (UI_usesUniqueCDKey() && fs && fs->string[0] != 0) {
|
||||||
|
@ -2823,7 +2823,6 @@ void Com_WriteConfiguration( void ) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue