- After experimenting with Blood, I think ROLLOFF_Linear is a better choice for ambient

sounds than ROLLOFF_Doom.

SVN r2225 (trunk)
This commit is contained in:
Randy Heit 2010-03-18 05:27:36 +00:00
parent f712d128a3
commit 44e877a243

View file

@ -1217,7 +1217,7 @@ void S_SoundMinMaxDist(AActor *ent, int channel, FSoundID sound_id, float volume
FRolloffInfo rolloff; FRolloffInfo rolloff;
rolloff.RolloffType = ROLLOFF_Doom; rolloff.RolloffType = ROLLOFF_Linear;
rolloff.MinDistance = mindist; rolloff.MinDistance = mindist;
rolloff.MaxDistance = maxdist; rolloff.MaxDistance = maxdist;
S_StartSound(ent, NULL, NULL, NULL, channel, sound_id, volume, 1, &rolloff); S_StartSound(ent, NULL, NULL, NULL, channel, sound_id, volume, 1, &rolloff);