Remove unused variable Game::menuselection

I presume it was meant to have the text of the currently-selected menu
option inside it, before the code switched over to using the indice of
the currently-selected menu instead? Would've been more error-prone to
use the text name directly.
This commit is contained in:
Misa
2020-04-15 23:33:25 -07:00
committed by Ethan Lee
parent e8a07f9c3d
commit ceb8d3f3d8
2 changed files with 0 additions and 3 deletions

View File

@@ -223,7 +223,6 @@ void Game::init(void)
unlocknotify.resize(25);
currentmenuoption = 0;
menuselection = "null";
current_credits_list_index = 0;
menuxoff = 0;
menuyoff = 0;
@@ -6546,7 +6545,6 @@ std::string Game::timetstring( int t )
void Game::createmenu( enum Menu::MenuName t )
{
currentmenuoption = 0;
menuselection = "null";
currentmenuname = t;
menuxoff = 0;
menuyoff = 0;

View File

@@ -221,7 +221,6 @@ public:
//Main Menu Variables
std::vector<MenuOption> menuoptions;
int currentmenuoption ;
std::string menuselection;
enum Menu::MenuName currentmenuname, previousmenuname;
int current_credits_list_index;
int menuxoff, menuyoff;