mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-23 01:59:43 +01: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:
parent
e8a07f9c3d
commit
ceb8d3f3d8
2 changed files with 0 additions and 3 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue