From: divverent Date: Mon, 23 Nov 2009 06:36:45 +0000 (+0000) Subject: fix typo X-Git-Tag: xonotic-v0.1.0preview~1133 X-Git-Url: http://git.xonotic.org/?a=commitdiff_plain;h=36d25eaed5787f7e30d7e70d670f770d7fbb390a;hp=75853fb8551fe78f89ec44c7914a867c096e04d7;p=xonotic%2Fdarkplaces.git fix typo git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9513 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/snd_main.c b/snd_main.c index fdb0c739..de717fba 100644 --- a/snd_main.c +++ b/snd_main.c @@ -1467,7 +1467,7 @@ int S_StartSound (int entnum, int entchannel, sfx_t *sfx, vec3_t origin, float f { S_SetChannelVolume(ch_idx, fvol); ch->dist_mult = attenuation / snd_soundradius.value; - SND_Spatialize(ch_idx, false); + SND_Spatialize(ch, false); return ch_idx; } }