aboutsummaryrefslogtreecommitdiffstats
path: root/al/source.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2022-06-18 15:53:59 -0700
committerChris Robinson <[email protected]>2022-06-18 15:53:59 -0700
commit364e641142bf7c18477dd8fde8125dcd3e26c8ea (patch)
tree87c0d5cd749e469a973f9dbbdb0042fbb89c109b /al/source.cpp
parent46be046ebb3d6f912031466caf413da6fef71e84 (diff)
Fix inverted checks
Diffstat (limited to 'al/source.cpp')
-rw-r--r--al/source.cpp8
1 files changed, 4 insertions, 4 deletions
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;