Save current menu to temp variable when entering options from in-game

This is to pre-emptively prevent piling up stack frames for what I'll be
adding next, which is pressing Esc in the options menu in-game
automatically moving you back to MAPMODE.
This commit is contained in:
Misa
2020-06-22 17:23:56 -07:00
committed by Ethan Lee
parent 75326ca2ee
commit 6582801dc9
3 changed files with 7 additions and 2 deletions

View File

@@ -390,6 +390,7 @@ void Game::init(void)
over30mode = false;
ingame_titlemode = false;
kludge_ingametemp = Menu::mainmenu;
/* Terry's Patrons... */
const char* superpatrons_arr[] = {