mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-22 17:49:43 +01: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:
parent
cd38d2ca12
commit
6e9fc8e923
1 changed files with 1 additions and 0 deletions
|
@ -213,6 +213,7 @@ void musicclass::play(int t)
|
|||
else
|
||||
{
|
||||
musicVolume = MIX_MAX_VOLUME;
|
||||
Mix_VolumeMusic(musicVolume);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue