diff options
author | Andrey Nazarov <skuller@skuller.net> | 2009-04-22 23:40:03 +0000 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2009-04-22 23:40:03 +0000 |
commit | 275f310df767a57b8cf409acdcbd14c63cb90df9 (patch) | |
tree | 3b59e2751c32b2f15fcfabb1af8b03e702cd5230 /source/common.c | |
parent | 385ccd0e9a518933019a8c6f1fecad2ae660b766 (diff) |
Don't execute ‘cl_beginmapcmd’, ‘cl_changemapcmd’ and ‘cl_disconnectcmd’ triggers when playing back demos.
Fixed automatic restart of sound subsystem after cvar change not working randomly.
Don't crash in CL_Disconnect() on dedicated server exit.
Added ‘sv_redirect_address’ variable.
Fixed ‘\r’ char not stripped properly from filename when processing ‘\include’ directive in AC config files.
Made AC config parser compliant with reference format as defined by R1Q2 implementation.
Updated documentation.
Diffstat (limited to 'source/common.c')
-rw-r--r-- | source/common.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/common.c b/source/common.c index dbb9b0b..7e47f4c 100644 --- a/source/common.c +++ b/source/common.c @@ -1687,9 +1687,8 @@ void Qcommon_Frame( void ) { if( cvar_modified & CVAR_FILES ) { Cbuf_ExecuteText( EXEC_NOW, "fs_restart" ); + cvar_modified &= ~CVAR_FILES; } - - cvar_modified = 0; com_localTime += msec; com_framenum++; |