Skip to content

Commit

Permalink
[Fix] Fix compilation.
Browse files Browse the repository at this point in the history
git-svn-id: https://source.openmpt.org/svn/openmpt/branches/OpenMPT-1.31@21768 56274372-70c3-4bfc-bfc3-4c3a0b034d27
  • Loading branch information
sagamusix committed Sep 28, 2024
1 parent 26b1383 commit 7bc90bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mptrack/ModConvert.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,7 @@ bool CModDoc::ChangeModType(MODTYPE nNewType)
ChangeFileExtension(nNewType);

// Special case: CModSpecifications for IT allow tempos up to 512 so that legacy modules play correctly.
Limit(m_SndFile.m_nDefaultTempo, specs.GetTempoMin(), nNewType == MOD_TYPE_IT ? TEMPO(255, 0) : specs.GetTempoMax()));
Limit(m_SndFile.m_nDefaultTempo, specs.GetTempoMin(), nNewType == MOD_TYPE_IT ? TEMPO(255, 0) : specs.GetTempoMax());
Limit(m_SndFile.m_nDefaultSpeed, specs.speedMin, specs.speedMax);

for(INSTRUMENTINDEX i = 1; i <= m_SndFile.GetNumInstruments(); i++) if(m_SndFile.Instruments[i] != nullptr)
Expand Down

0 comments on commit 7bc90bc

Please sign in to comment.