Silence warning about vid_fsaa requiring restart when parsing config.cfg at startup. Add missing newline to warning message.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@982 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
ewasylishen 2014-08-30 03:22:36 +00:00
parent 63b813cb06
commit 516271e393
1 changed files with 3 additions and 1 deletions

View File

@ -872,7 +872,9 @@ VID_FSAA_f -- ericw -- warn that vid_fsaa requires engine restart
*/ */
static void VID_FSAA_f (cvar_t *var) static void VID_FSAA_f (cvar_t *var)
{ {
Con_Printf("%s %d requires engine restart to take effect", var->name, (int)var->value); // don't print the warning if vid_fsaa is set during startup
if (vid_initialized)
Con_Printf("%s %d requires engine restart to take effect\n", var->name, (int)var->value);
} }
//========================================================================== //==========================================================================