]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
fix typo
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 23 Nov 2009 06:36:45 +0000 (06:36 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 23 Nov 2009 06:36:45 +0000 (06:36 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9513 d7cf8633-e32d-0410-b094-e92efae38249

snd_main.c

index fdb0c7391999ea0f4070505dd6b55caf4652631d..de717fba8eb01b8e1d32f53022e3649ab22333e1 100644 (file)
@@ -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;
                        }
                }