Author: sagamusix
Date: Mon Apr 8 21:27:35 2024
New Revision: 20537
URL: https://source.openmpt.org/browse/openmpt/?op=revision&rev=20537
Log:
[Fix] Compile fix for libopenmpt.
Modified:
trunk/OpenMPT/soundlib/Sndmix.cpp
Modified: trunk/OpenMPT/soundlib/Sndmix.cpp
==============================================================================
--- trunk/OpenMPT/soundlib/Sndmix.cpp Mon Apr 8 21:22:41 2024 (r20536)
+++ trunk/OpenMPT/soundlib/Sndmix.cpp Mon Apr 8 21:27:35 2024 (r20537)
@@ -643,8 +643,8 @@
m_PlayState.Chn[i].Reset(ModChannel::resetSetPosFull, *this, i, muteFlag);
StopAllVsti();
// ...and the global playback information.
- m_PlayState.m_nMusicSpeed = m_nDefaultSpeed;
- m_PlayState.m_nMusicTempo = m_nDefaultTempo;
+ m_PlayState.m_nMusicSpeed = Order().GetDefaultSpeed();
+ m_PlayState.m_nMusicTempo = Order().GetDefaultTempo();
m_PlayState.m_nGlobalVolume = m_nDefaultGlobalVolume;
m_PlayState.m_nNextOrder = m_PlayState.m_nCurrentOrder;
|