Skip to content

Commit aee6c3f

Browse files
committed
Merged revision(s) 22280 from trunk/OpenMPT:
[Fix] MED: Do not allow sample swapping with portamento, and don't resume playing a stopped note with portamento. Fixes Homeward_Trek.med by Soundburst (https://www.un4seen.com/forum/?topic=15448.msg144148#msg144148). ........ git-svn-id: https://source.openmpt.org/svn/openmpt/branches/OpenMPT-1.30@22287 56274372-70c3-4bfc-bfc3-4c3a0b034d27
1 parent 8a26325 commit aee6c3f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

soundlib/Load_med.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1193,6 +1193,8 @@ bool CSoundFile::ReadMED(FileReader &file, ModLoadingFlags loadFlags)
11931193

11941194
// For MED, this affects both volume and pitch slides
11951195
m_SongFlags.set(SONG_FASTVOLSLIDES, !(songHeader.flags & MMDSong::FLAG_STSLIDE));
1196+
m_playBehaviour.set(kST3PortaSampleChange);
1197+
m_playBehaviour.set(kFT2PortaNoNote);
11961198

11971199
if(expData.songNameOffset && file.Seek(expData.songNameOffset))
11981200
{

0 commit comments

Comments
 (0)