mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-23 01:59: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
|
else
|
||||||
{
|
{
|
||||||
musicVolume = MIX_MAX_VOLUME;
|
musicVolume = MIX_MAX_VOLUME;
|
||||||
|
Mix_VolumeMusic(musicVolume);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue