Remove mainmenu from Game

Since mainmenu is only ever used in Input.cpp, I might as well make it
clearer by moving it into a static global variable in Input.cpp. (The
same applies to fadetolab/fadetomenu, but I didn't think much about
those at the time... that'll be a refactor for later.)
This commit is contained in:
Misa authored and Ethan Lee committed 2021-03-25 23:32:39 -04:00
1 parent be10487c5c
commit 100d986431
3 files changed
+3 -4

No files matched your search

-1
View File
@@ -242,7 +242,6 @@ public:
bool startscript;
std::string newscript;
int mainmenu;
bool menustart;
//Teleporting