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: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@489 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
Steven 2011-09-20 22:45:52 +00:00
parent fef3a3d3d6
commit 8155c525b7

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)