diff options
author | Chris Robinson <[email protected]> | 2023-03-11 20:55:38 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2023-03-11 20:55:38 -0800 |
commit | e7610b90dae0844d8e91c422c4cfbbeffab19c46 (patch) | |
tree | 2da8eced6393e1ea08646b5b569cf5806b30d1e3 /al | |
parent | 20ab7645fb637e427d31f044fa1a05f683595f58 (diff) |
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.
Diffstat (limited to 'al')
-rw-r--r-- | al/eax/call.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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: |