From 6241e43b3fcf8973676723925d50817050a29ed3 Mon Sep 17 00:00:00 2001 From: Johannes Schultz Date: Mon, 30 Sep 2024 17:11:15 +0000 Subject: [PATCH] [Fix] IT: SAx import was bound to "compatible" tracker, not "made with" tracker ID. git-svn-id: https://source.openmpt.org/svn/openmpt/trunk/OpenMPT@21774 56274372-70c3-4bfc-bfc3-4c3a0b034d27 --- soundlib/Load_it.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/soundlib/Load_it.cpp b/soundlib/Load_it.cpp index bb301fda62..dbd2097c8e 100644 --- a/soundlib/Load_it.cpp +++ b/soundlib/Load_it.cpp @@ -1132,7 +1132,7 @@ bool CSoundFile::ReadIT(FileReader &file, ModLoadingFlags loadFlags) S3MConvert(m, command, param, true); // IT 1.xx does not support high offset command - if(m.command == CMD_S3MCMDEX && (m.param & 0xF0) == 0xA0 && fileHeader.cmwt < 0x0200) + if(m.command == CMD_S3MCMDEX && (m.param & 0xF0) == 0xA0 && fileHeader.cwtv < 0x0200) m.command = CMD_DUMMY; // Fix handling of commands V81-VFF in ITs made with old Schism Tracker versions // (fixed in https://github.com/schismtracker/schismtracker/commit/ab5517d4730d4c717f7ebffb401445679bd30888 - one of the last versions to identify as v0.50)