mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
Restore janky gamestate-based quit-to-title system in glitchrunnermode
This was fixed in 2.3 because one of the side effects of this janky system was being able to accidentally immediately quit to the title if the screen was black during a cutscene, which is something very likely to happen to casual players. Anyway, credits warp uses this gamestate-based system because it utilizes quitting to the title screen doing gamestate 80. From there, you increment the gamestate to gamestate 94 to use the Space Station 2 expo script.
This commit is contained in:
@@ -2356,7 +2356,10 @@ void maprender()
|
||||
|
||||
|
||||
|
||||
if (graphics.fademode == 3 || graphics.fademode == 5)
|
||||
// We need to draw the black screen above the menu in order to disguise it
|
||||
// being jankily brought down in glitchrunner mode when exiting to the title
|
||||
// Otherwise, there's no reason to obscure the menu
|
||||
if (game.glitchrunnermode || graphics.fademode == 3 || graphics.fademode == 5)
|
||||
{
|
||||
graphics.drawfade();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user