Author: sagamusix
Date: Wed Jun 19 14:52:13 2024
New Revision: 21044
URL: https://source.openmpt.org/browse/openmpt/?op=revision&rev=21044
Log:
Merged revision(s) 21043 from trunk/OpenMPT:
[Fix] DIGI: Sample play direction was reset if adjacent channel contained a Note Cut note (https://www.un4seen.com/forum/?topic=15448.msg143118#msg143118, libopenmpt only).
........
Modified:
branches/OpenMPT-1.31/ (props changed)
branches/OpenMPT-1.31/soundlib/Snd_fx.cpp
Modified: branches/OpenMPT-1.31/soundlib/Snd_fx.cpp
==============================================================================
--- branches/OpenMPT-1.31/soundlib/Snd_fx.cpp Wed Jun 19 14:25:57 2024 (r21043)
+++ branches/OpenMPT-1.31/soundlib/Snd_fx.cpp Wed Jun 19 14:52:13 2024 (r21044)
@@ -2951,7 +2951,8 @@
}
NoteChange(chn, note, bPorta, !(GetType() & (MOD_TYPE_XM | MOD_TYPE_MT2)), false, nChn);
- HandleDigiSamplePlayDirection(m_PlayState, nChn);
+ if(ModCommand::IsNote(note))
+ HandleDigiSamplePlayDirection(m_PlayState, nChn);
if ((bPorta) && (GetType() & (MOD_TYPE_XM|MOD_TYPE_MT2)) && (instr))
{
chn.dwFlags.set(CHN_FASTVOLRAMP);
|