aboutsummaryrefslogtreecommitdiffstats
path: root/al/source.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2022-02-14 03:04:46 -0800
committerChris Robinson <[email protected]>2022-02-14 03:04:46 -0800
commitc6b301b72e2713ce058c65f9ed5cfe361755ea38 (patch)
tree20872f048a1155bd09c6ccf589fc1083a0471954 /al/source.cpp
parent677ea00fa38b3c55372f49a99a65da5905c9ea72 (diff)
Access the proper FX slot index
Diffstat (limited to 'al/source.cpp')
-rw-r--r--al/source.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/al/source.cpp b/al/source.cpp
index 30676dfc..9817674f 100644
--- a/al/source.cpp
+++ b/al/source.cpp
@@ -3989,7 +3989,7 @@ void ALsource::eax_set_fx_slots()
if (fx_slot_index.has_value())
{
eax_has_active_fx_slots_ = true;
- eax_active_fx_slots_[fx_slot_index] = true;
+ eax_active_fx_slots_[*fx_slot_index] = true;
}
}