aboutsummaryrefslogtreecommitdiffstats
path: root/al
diff options
context:
space:
mode:
authorHerman Semenov <[email protected]>2022-09-23 18:21:16 +0000
committerGitHub <[email protected]>2022-09-23 11:21:16 -0700
commitcb679f9e89650dee3a26f285c8d3a4d32494af6e (patch)
tree1c13f1e42f6e694e2886b073e071e2db376a2ce2 /al
parentb5d35008ed645857e46745e7b1744644fa4ea83e (diff)
Fixed bug and possible overflow type (#771)
Diffstat (limited to 'al')
-rw-r--r--al/effects/reverb.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/al/effects/reverb.cpp b/al/effects/reverb.cpp
index 19b52d66..656642e0 100644
--- a/al/effects/reverb.cpp
+++ b/al/effects/reverb.cpp
@@ -1496,7 +1496,7 @@ void EaxReverbEffect::get2(const EaxCall& call, const Props2& props)
case DSPROPERTY_EAX20LISTENER_DECAYTIME: call.set_value<Exception>(props.flDecayTime); break;
case DSPROPERTY_EAX20LISTENER_DECAYHFRATIO: call.set_value<Exception>(props.flDecayHFRatio); break;
case DSPROPERTY_EAX20LISTENER_REFLECTIONS: call.set_value<Exception>(props.lReflections); break;
- case DSPROPERTY_EAX20LISTENER_REFLECTIONSDELAY: call.set_value<Exception>(props.flReverbDelay); break;
+ case DSPROPERTY_EAX20LISTENER_REFLECTIONSDELAY: call.set_value<Exception>(props.flReflectionsDelay); break;
case DSPROPERTY_EAX20LISTENER_REVERB: call.set_value<Exception>(props.lReverb); break;
case DSPROPERTY_EAX20LISTENER_REVERBDELAY: call.set_value<Exception>(props.flReverbDelay); break;
case DSPROPERTY_EAX20LISTENER_ENVIRONMENT: call.set_value<Exception>(props.dwEnvironment); break;