aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-03-17 03:42:07 -0700
committerChris Robinson <[email protected]>2012-03-17 03:42:07 -0700
commit703d72f20e6e941a2438de188ebda0b08850c112 (patch)
treea8c4e73d785d1fb514b8036c7f77e6cf92c00f81
parentb7d67d8bcc71ad23aee3a52ff7a63dbd1c20d828 (diff)
Use the correct loop count for reading the elevation offsets from external HRTF files
-rw-r--r--Alc/hrtf.c2
1 files changed, 1 insertions, 1 deletions
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);