From 9d165f317f84ea2a8dd531890e9273704e63a9a4 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Thu, 22 Mar 2007 08:27:54 +0000 Subject: [PATCH] fix lost channels (fixes both running out of channels and non-stop loops) --- libs/audio/renderer/snd_channels.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libs/audio/renderer/snd_channels.c b/libs/audio/renderer/snd_channels.c index 624953dda..551c4ce8d 100644 --- a/libs/audio/renderer/snd_channels.c +++ b/libs/audio/renderer/snd_channels.c @@ -553,7 +553,6 @@ SND_StartSound (int entnum, int entchannel, sfx_t *sfx, const vec3_t origin, vol = fvol * 255; // spatialize - memset (target_chan, 0, sizeof (*target_chan)); VectorCopy (origin, target_chan->origin); target_chan->dist_mult = attenuation / sound_nominal_clip_dist; target_chan->master_vol = vol;