From 65341a8d1cf727b1c043a7953b6a334d97a1365c Mon Sep 17 00:00:00 2001 From: Misa Date: Thu, 7 May 2020 16:00:13 -0700 Subject: [PATCH] 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. --- desktop_version/src/Input.cpp | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/desktop_version/src/Input.cpp b/desktop_version/src/Input.cpp index 638ca9fb..da0af4a3 100644 --- a/desktop_version/src/Input.cpp +++ b/desktop_version/src/Input.cpp @@ -1972,14 +1972,14 @@ void mapinput() { //quit to menu - //Kill contents of offset render buffer, since we do that for some reason. - //This fixes an apparent frame flicker. - FillRect(graphics.tempBuffer, 0x000000); - graphics.fademode = 2; - music.fadeout(); - map.nexttowercolour(); - game.fadetomenu = true; - game.fadetomenudelay = 15; + //Kill contents of offset render buffer, since we do that for some reason. + //This fixes an apparent frame flicker. + FillRect(graphics.tempBuffer, 0x000000); + graphics.fademode = 2; + music.fadeout(); + map.nexttowercolour(); + game.fadetomenu = true; + game.fadetomenudelay = 15; } if (game.menupage == 20 && game.press_action) @@ -1990,11 +1990,11 @@ void mapinput() if (game.menupage == 21 && game.press_action) { //quit to menu - game.swnmode = false; - graphics.fademode = 2; - music.fadeout(); - game.fadetolab = true; - game.fadetolabdelay = 15; + game.swnmode = false; + graphics.fademode = 2; + music.fadeout(); + game.fadetolab = true; + game.fadetolabdelay = 15; } if (game.menupage < 0) game.menupage = 3;