From eea86ab8916c5e0213dabc404a191bbf0e0affbe Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 1 May 2011 18:18:37 -0700 Subject: Use flags instead of separate bools --- Alc/mixer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Alc/mixer.c') diff --git a/Alc/mixer.c b/Alc/mixer.c index e1ecada8..f229b56a 100644 --- a/Alc/mixer.c +++ b/Alc/mixer.c @@ -566,7 +566,7 @@ static void Mix_##T##_##sampler(ALsource *Source, ALCdevice *Device, \ switch(FmtChannels) \ { \ case FmtMono: \ - if(Device->UseHRTF) \ + if((Device->Flags&DEVICE_USE_HRTF)) \ Mix_Hrtf_##T##_1_##sampler(Source, Device, Data, \ DataPosInt, DataPosFrac, \ OutPos, SamplesToDo, BufferSize); \ -- cgit v1.2.3