summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Fuller <relnev@icculus.org>2001-10-18 23:55:55 +0000
committerPatryk Obara <dreamer.tan@gmail.com>2019-08-20 02:22:36 +0200
commit47dfa780d50edffb21c1cfa721d8a18baa00c6c3 (patch)
treed7794330df9fdde9b89cd64065a677ffe184f99b
parent112d43ca5d15d9e466d1a928f36d2c178239cccb (diff)
Fix stupid mistake: accidently had volume changing commented out
-rw-r--r--src/openal.c3
1 files changed, 1 insertions, 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;