mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-30 01:48:15 +03:00
Don't quick fade when using niceplay()
Earlier in 53950e14de65a54d9369c5183a16337782d3dc4e, I made playing a song while a song was already fading quickly fade out the current song, but then added an exception for if the fade came from the musicfadeout() command. This commit adds another exception for if the fade came from niceplay(), since otherwise the music transitions between areas in the game would go too quick.
This commit is contained in:
@@ -414,7 +414,11 @@ void musicclass::niceplay(int t)
|
||||
// important: do nothing if the correct song is playing!
|
||||
if(currentsong!=t)
|
||||
{
|
||||
if(currentsong!=-1) fadeout();
|
||||
if(currentsong!=-1)
|
||||
{
|
||||
dontquickfade = true;
|
||||
fadeout();
|
||||
}
|
||||
nicefade = 1;
|
||||
nicechange = t;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user