From 703d72f20e6e941a2438de188ebda0b08850c112 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 17 Mar 2012 03:42:07 -0700 Subject: [PATCH] Use the correct loop count for reading the elevation offsets from external HRTF files --- Alc/hrtf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Alc/hrtf.c b/Alc/hrtf.c index 24277898..0185a113 100644 --- a/Alc/hrtf.c +++ b/Alc/hrtf.c @@ -384,7 +384,7 @@ void InitHrtf(void) if(!failed) { - for(i = 0;i < HRIR_COUNT;i++) + for(i = 0;i < ELEV_COUNT;i++) { ALushort offset; offset = fgetc(f); -- 2.11.4.GIT