aboutsummaryrefslogtreecommitdiffstats
path: root/al/auxeffectslot.cpp
diff options
context:
space:
mode:
authorBoris I. Bendovsky <[email protected]>2022-07-15 14:33:21 +0300
committerBoris I. Bendovsky <[email protected]>2022-07-17 20:59:07 +0300
commit6f3500f458bdcce254d65095ed949119302b6c38 (patch)
tree764ea763303c3d36c4a35f9e39e784a2086c7a51 /al/auxeffectslot.cpp
parent51a48e32bac4b83526ff9d21d7fd07b6832ba28d (diff)
[EAX_FX_SLOT] Fix setting EAX5 flags
Diffstat (limited to 'al/auxeffectslot.cpp')
-rw-r--r--al/auxeffectslot.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/al/auxeffectslot.cpp b/al/auxeffectslot.cpp
index a322cb71..9da8824b 100644
--- a/al/auxeffectslot.cpp
+++ b/al/auxeffectslot.cpp
@@ -1434,7 +1434,7 @@ bool ALeffectslot::eax5_fx_slot_set(const EaxCall& call)
eax_fx_slot_set<Eax4LockValidator, eax_lock_dirty_bit>(call, dst.lLock, eax_df_);
break;
case EAXFXSLOT_FLAGS:
- eax_fx_slot_set<Eax4FlagsValidator, eax_flags_dirty_bit>(call, dst.ulFlags, eax_df_);
+ eax_fx_slot_set<Eax5FlagsValidator, eax_flags_dirty_bit>(call, dst.ulFlags, eax_df_);
break;
case EAXFXSLOT_OCCLUSION:
eax_fx_slot_set<Eax5OcclusionValidator, eax_occlusion_dirty_bit>(call, dst.lOcclusion, eax_df_);