diff options
-rw-r--r-- | OpenAL32/event.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/event.c b/OpenAL32/event.c index 82a6efb1..ff53d7d8 100644 --- a/OpenAL32/event.c +++ b/OpenAL32/event.c @@ -40,7 +40,7 @@ static int EventThread(void *arg) /* Should check the actual type is enabled here too. */ enabledevts = ATOMIC_LOAD(&context->EnabledEvts, almemory_order_acquire); - if(context->EventCb && (enabledevts&evt.EnumType) != evt.EnumType) + if(context->EventCb && (enabledevts&evt.EnumType) == evt.EnumType) context->EventCb(evt.Type, evt.ObjectId, evt.Param, (ALsizei)strlen(evt.Message), evt.Message, context->EventParam); } |