win midi: don't send volume twice

This commit is contained in:
Roman Fomin 2023-04-18 23:11:07 +07:00
parent 244c032d41
commit f91299cbc5

View File

@ -1278,7 +1278,7 @@ static void I_WIN_SetMusicVolume(int volume)
volume_factor = sqrtf((float)volume / 15);
update_volume = true;
update_volume = (song.file != NULL);
}
static void I_WIN_StopSong(void *handle)