git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4785
d7cf8633-e32d-0410-b094-
e92efae38249
channels[i].sfx = ambient_sfxs[i];
channels[i].flags |= CHANNELFLAG_FORCELOOP;
+ channels[i].master_vol = 0;
}
}
channel_t *chan;
qbyte ambientlevels[NUM_AMBIENTS];
- // Mute ambient sounds until proven otherwise
- for (ambient_channel = 0 ; ambient_channel < NUM_AMBIENTS;ambient_channel++)
- channels[ambient_channel].master_vol = 0;
-
if (ambient_level.value <= 0 || !cl.worldmodel || !cl.worldmodel->brush.AmbientSoundLevelsForPoint)
return;