1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-01 18:43:33 +02:00

Call Mix_VolumeMusic() when playing tracks 0 and 7

This fixes issues where they would be silent for 1 frame due to frame
ordering, resulting in a weird-sounding beginning of these tracks due to
a lack of attack (in the musical sense).

This is similar to the issue where tracks fading in would suddenly be
loud for 1 frame, again due to frame ordering.
This commit is contained in:
Misa 2021-04-27 16:59:01 -07:00 committed by Ethan Lee
parent cd38d2ca12
commit 6e9fc8e923

View File

@ -213,6 +213,7 @@ void musicclass::play(int t)
else
{
musicVolume = MIX_MAX_VOLUME;
Mix_VolumeMusic(musicVolume);
}
}
else