From 364e641142bf7c18477dd8fde8125dcd3e26c8ea Mon Sep 17 00:00:00 2001
From: Chris Robinson <chris.kcat@gmail.com>
Date: Sat, 18 Jun 2022 15:53:59 -0700
Subject: Fix inverted checks

---
 al/source.cpp | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

(limited to 'al')

diff --git a/al/source.cpp b/al/source.cpp
index 6d76dde9..ff0f5d4c 100644
--- a/al/source.cpp
+++ b/al/source.cpp
@@ -4913,7 +4913,7 @@ void ALsource::eax_commit(EaxCommitType commit_type)
             break;
 
         case 2:
-            if(!is_forced && eax2_.changed)
+            if(!is_forced && !eax2_.changed)
                 return;
             eax2_.changed = false;
             eax2_.i = eax2_.d;
@@ -4921,7 +4921,7 @@ void ALsource::eax_commit(EaxCommitType commit_type)
             break;
 
         case 3:
-            if(!is_forced && eax3_.changed)
+            if(!is_forced && !eax3_.changed)
                 return;
             eax3_.changed = false;
             eax3_.i = eax3_.d;
@@ -4929,7 +4929,7 @@ void ALsource::eax_commit(EaxCommitType commit_type)
             break;
 
         case 4:
-            if(!is_forced && eax4_.changed)
+            if(!is_forced && !eax4_.changed)
                 return;
             eax4_.changed = false;
             eax4_.i = eax4_.d;
@@ -4937,7 +4937,7 @@ void ALsource::eax_commit(EaxCommitType commit_type)
             break;
 
         case 5:
-            if(!is_forced && eax5_.changed)
+            if(!is_forced && !eax5_.changed)
                 return;
             eax5_.changed = false;
             eax5_.i = eax5_.d;
-- 
cgit v1.2.3