Try to fix playing without music.

This commit is contained in:
hiker 2015-02-10 17:31:35 +11:00
parent 7d0875878b
commit 84a84b6776

View File

@ -165,7 +165,7 @@ void MusicManager::addMusicToTracks()
*/ */
void MusicManager::startMusic() void MusicManager::startMusic()
{ {
if (m_current_music) if (m_current_music && UserConfigParams::m_music)
SFXManager::get()->queue(SFXManager::SFX_MUSIC_START, m_current_music); SFXManager::get()->queue(SFXManager::SFX_MUSIC_START, m_current_music);
} // startMusic } // startMusic