]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
don't spatialize twice :P
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 30 Dec 2009 11:24:51 +0000 (11:24 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 30 Dec 2009 11:24:51 +0000 (11:24 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9746 d7cf8633-e32d-0410-b094-e92efae38249

snd_main.c

index 57ed4786521096ddc3f5a496ae7a29c266c64cc9..f5351c9bebfac1f71a0c5805399a72745858c323 100644 (file)
@@ -1451,7 +1451,6 @@ void S_PlaySfxOnChannel (sfx_t *sfx, channel_t *target_chan, unsigned int flags,
        // finally, set the sfx pointer, so the channel becomes valid for playback
        // and will be noticed by the mixer
        target_chan->sfx = sfx;
-       SND_Spatialize (target_chan, isstatic);
 }