mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 22:31:05 +00:00
fix lost channels (fixes both running out of channels and non-stop loops)
This commit is contained in:
parent
f71d3da578
commit
9d165f317f
1 changed files with 0 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue