Update sndspeed cvar when it is changed from the command line (from Sander). Note in-game changes of the sound cvars don't change sound playback settings or behaviour.

git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@489 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
stevenaaus 2011-09-20 22:45:52 +00:00
parent 7eb20be3fe
commit 2a5421cd03
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ void S_Init (void)
i = COM_CheckParm("-sndspeed");
if (i && i < com_argc-1)
{
sndspeed.value = Q_atoi(com_argv[i+1]);
Cvar_Set ("sndspeed", com_argv[i+1]);
}
if (host_parms->memsize < 0x800000)