fix volume reset for non-MIDI music

This commit is contained in:
Roman Fomin 2023-04-09 21:46:20 +07:00
parent 70b4fdf178
commit e03274eea5

View File

@ -736,6 +736,8 @@ void *I_RegisterSong(void *data, int size)
// Try to open file with libsndfile and libmodplug.
active_module = &music_oal_module;
// The volume has been set for the MIDI module, so we set it again.
active_module->I_SetMusicVolume(snd_MusicVolume);
return active_module->I_RegisterSong(data, size);
}