mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-02-02 15:32:19 +03: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:
@@ -213,6 +213,7 @@ void musicclass::play(int t)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
musicVolume = MIX_MAX_VOLUME;
|
musicVolume = MIX_MAX_VOLUME;
|
||||||
|
Mix_VolumeMusic(musicVolume);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user