mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2025-01-03 15:39:46 +01:00
Unindent block that previously had the fademode check
From the previous commit. It makes the diffs easier to read if I do the unindent in a separate commit.
This commit is contained in:
parent
c61025c172
commit
65341a8d1c
1 changed files with 13 additions and 13 deletions
|
@ -1972,14 +1972,14 @@ void mapinput()
|
||||||
{
|
{
|
||||||
//quit to menu
|
//quit to menu
|
||||||
|
|
||||||
//Kill contents of offset render buffer, since we do that for some reason.
|
//Kill contents of offset render buffer, since we do that for some reason.
|
||||||
//This fixes an apparent frame flicker.
|
//This fixes an apparent frame flicker.
|
||||||
FillRect(graphics.tempBuffer, 0x000000);
|
FillRect(graphics.tempBuffer, 0x000000);
|
||||||
graphics.fademode = 2;
|
graphics.fademode = 2;
|
||||||
music.fadeout();
|
music.fadeout();
|
||||||
map.nexttowercolour();
|
map.nexttowercolour();
|
||||||
game.fadetomenu = true;
|
game.fadetomenu = true;
|
||||||
game.fadetomenudelay = 15;
|
game.fadetomenudelay = 15;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (game.menupage == 20 && game.press_action)
|
if (game.menupage == 20 && game.press_action)
|
||||||
|
@ -1990,11 +1990,11 @@ void mapinput()
|
||||||
if (game.menupage == 21 && game.press_action)
|
if (game.menupage == 21 && game.press_action)
|
||||||
{
|
{
|
||||||
//quit to menu
|
//quit to menu
|
||||||
game.swnmode = false;
|
game.swnmode = false;
|
||||||
graphics.fademode = 2;
|
graphics.fademode = 2;
|
||||||
music.fadeout();
|
music.fadeout();
|
||||||
game.fadetolab = true;
|
game.fadetolab = true;
|
||||||
game.fadetolabdelay = 15;
|
game.fadetolabdelay = 15;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (game.menupage < 0) game.menupage = 3;
|
if (game.menupage < 0) game.menupage = 3;
|
||||||
|
|
Loading…
Reference in a new issue