From 47dfa780d50edffb21c1cfa721d8a18baa00c6c3 Mon Sep 17 00:00:00 2001 From: Steven Fuller Date: Thu, 18 Oct 2001 23:55:55 +0000 Subject: [PATCH] Fix stupid mistake: accidently had volume changing commented out --- src/openal.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/openal.c b/src/openal.c index 8f31acd..b88cace 100644 --- a/src/openal.c +++ b/src/openal.c @@ -580,11 +580,10 @@ int PlatDo3dSound(int activeIndex) printf("PlatDo3dSound: idx = %d, volume = %d, distance = %d\n", activeIndex, newVolume, distance); -/* if (PlatChangeSoundVolume (activeIndex, newVolume) == SOUND_PLATFORMERROR) { return SOUND_PLATFORMERROR; } -*/ + if (distance < ActiveSounds[activeIndex].threedeedata.outer_range) { #if 0 ActiveSounds[activeIndex].PropSetP_pos[0] = ActiveSounds[activeIndex].threedeedata.position.vx; // 10000.0;