From 2a5421cd0309f156da9ceb056ac56809300d15de Mon Sep 17 00:00:00 2001 From: stevenaaus Date: Tue, 20 Sep 2011 22:45:52 +0000 Subject: [PATCH] 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 --- Quake/snd_dma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Quake/snd_dma.c b/Quake/snd_dma.c index 7ed75223..251e821c 100644 --- a/Quake/snd_dma.c +++ b/Quake/snd_dma.c @@ -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)