From e7610b90dae0844d8e91c422c4cfbbeffab19c46 Mon Sep 17 00:00:00 2001 From: Chris Robinson <chris.kcat@gmail.com> Date: Sat, 11 Mar 2023 20:55:38 -0800 Subject: Check the correct ID value for clearing the deferred flag property_id is the original value with the deferred flag in the msb. If the call is deferred, that flag is set, preventing it from matching any of the enums. The property_id_ member has the ID without the flag. --- al/eax/call.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/al/eax/call.cpp b/al/eax/call.cpp index abb27933..f00ab5be 100644 --- a/al/eax/call.cpp +++ b/al/eax/call.cpp @@ -151,7 +151,7 @@ EaxCall::EaxCall( fail("EAX version out of range."); } - switch(property_id) + switch(property_id_) { case EAXCONTEXT_LASTERROR: case EAXCONTEXT_SPEAKERCONFIG: -- cgit v1.2.3