mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-11-14 15:09:42 +01:00
Don't touch music when completing custom level
For some reason, when completing a custom level and fading to the menu, the game attempts to fade the music in and also fade the music out at the same time. This results in nothing happening at all, and in 2.2 and previous, results in audio fading out from max volume while the game is frozen on a black screen after the fadeout. To avoid any potential badness, just remove these.
This commit is contained in:
parent
b6645de749
commit
3d090792d2
1 changed files with 0 additions and 4 deletions
|
@ -1942,15 +1942,11 @@ void Game::updatestate(void)
|
|||
if(map.custommodeforreal)
|
||||
{
|
||||
graphics.fademode = 2;
|
||||
if(!muted && ed.levmusic>0) music.fadeMusicVolumeIn(3000);
|
||||
if(ed.levmusic>0) music.fadeout();
|
||||
state=1014;
|
||||
}
|
||||
else
|
||||
{
|
||||
returntoeditor();
|
||||
if(!muted && ed.levmusic>0) music.fadeMusicVolumeIn(3000);
|
||||
if(ed.levmusic>0) music.fadeout();
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue