mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-23 01:59:43 +01:00
hardreset
: Reset ingame_titlemode
You'll note that getting in to the glitchy state of the game (the state where you could play the game after it had hardreset() called on it) required the player to quit to menu with ingame_titlemode set to true. Well, quitting to menu calls hardreset(). So if hardreset() is called when quitting, then you can no longer preserve ingame_titlemode that way. This is a bit overkill, but I'm just taking precautions.
This commit is contained in:
parent
7f9247b0c7
commit
b67386894c
1 changed files with 2 additions and 0 deletions
|
@ -3204,6 +3204,8 @@ void scriptclass::hardreset(void)
|
|||
|
||||
game.disabletemporaryaudiopause = true;
|
||||
|
||||
game.ingame_titlemode = false;
|
||||
|
||||
//dwgraphicsclass
|
||||
graphics.backgrounddrawn = false;
|
||||
graphics.textboxes.clear();
|
||||
|
|
Loading…
Reference in a new issue