Fix pan control check in snd_user.cpp

Fix most likely copy paste error
This commit is contained in:
rcaridade145 2026-02-03 11:41:23 +00:00 committed by GitHub
parent 5bc60b9452
commit cce972b9e0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -864,7 +864,7 @@ namespace snd_user
MixMode& mixMode = mixChannel.GetMode(device, deviceIndex);
sint16* deviceChannels = mixChannel.GetChannels(device, deviceIndex);
if (mixControl.fader == newPan)
if (mixControl.pan == newPan)
{
AXVoiceEnd(vpb);
return;