mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-24 04:29:34 -04:00
fix volume reset for non-MIDI music
This commit is contained in:
parent
70b4fdf178
commit
e03274eea5
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user