Move quit to menu to Game::quittomenu()

I don't want the quit code to only be in the state machine, but I'll
keep the gamestate around for compatibility reasons (there are custom
levels that directly use gamestate 80 to quit to the menu).
This commit is contained in:
Misa
2020-05-07 14:38:19 -07:00
committed by Ethan Lee
parent 0787475e63
commit 6ac41e112c
2 changed files with 45 additions and 38 deletions

View File

@@ -385,6 +385,8 @@ public:
int playrx;
int playry;
int playgc;
void quittomenu();
};
extern Game game;