mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
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:
@@ -223,7 +223,6 @@ void Game::init(void)
|
|||||||
unlocknotify.resize(25);
|
unlocknotify.resize(25);
|
||||||
|
|
||||||
currentmenuoption = 0;
|
currentmenuoption = 0;
|
||||||
menuselection = "null";
|
|
||||||
current_credits_list_index = 0;
|
current_credits_list_index = 0;
|
||||||
menuxoff = 0;
|
menuxoff = 0;
|
||||||
menuyoff = 0;
|
menuyoff = 0;
|
||||||
@@ -6546,7 +6545,6 @@ std::string Game::timetstring( int t )
|
|||||||
void Game::createmenu( enum Menu::MenuName t )
|
void Game::createmenu( enum Menu::MenuName t )
|
||||||
{
|
{
|
||||||
currentmenuoption = 0;
|
currentmenuoption = 0;
|
||||||
menuselection = "null";
|
|
||||||
currentmenuname = t;
|
currentmenuname = t;
|
||||||
menuxoff = 0;
|
menuxoff = 0;
|
||||||
menuyoff = 0;
|
menuyoff = 0;
|
||||||
|
|||||||
@@ -221,7 +221,6 @@ public:
|
|||||||
//Main Menu Variables
|
//Main Menu Variables
|
||||||
std::vector<MenuOption> menuoptions;
|
std::vector<MenuOption> menuoptions;
|
||||||
int currentmenuoption ;
|
int currentmenuoption ;
|
||||||
std::string menuselection;
|
|
||||||
enum Menu::MenuName currentmenuname, previousmenuname;
|
enum Menu::MenuName currentmenuname, previousmenuname;
|
||||||
int current_credits_list_index;
|
int current_credits_list_index;
|
||||||
int menuxoff, menuyoff;
|
int menuxoff, menuyoff;
|
||||||
|
|||||||
Reference in New Issue
Block a user