Skip to content

Commit 703d72f

Browse files
committed
Use the correct loop count for reading the elevation offsets from external HRTF files
1 parent b7d67d8 commit 703d72f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Alc/hrtf.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ void InitHrtf(void)
384384

385385
if(!failed)
386386
{
387-
for(i = 0;i < HRIR_COUNT;i++)
387+
for(i = 0;i < ELEV_COUNT;i++)
388388
{
389389
ALushort offset;
390390
offset = fgetc(f);

0 commit comments

Comments
 (0)