mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-23 01:59:43 +01:00
Remove now-unused variable Game::previousmenuname
This used to be used for Menu::youwannaquit, but now it uses the same stack frame system as everything else, so it's gone unused now.
This commit is contained in:
parent
2bb64198fe
commit
637a9d5665
2 changed files with 1 additions and 2 deletions
|
@ -227,7 +227,7 @@ public:
|
|||
//Main Menu Variables
|
||||
std::vector<MenuOption> menuoptions;
|
||||
int currentmenuoption ;
|
||||
enum Menu::MenuName currentmenuname, previousmenuname;
|
||||
enum Menu::MenuName currentmenuname;
|
||||
int current_credits_list_index;
|
||||
int menuxoff, menuyoff;
|
||||
std::vector<MenuStackFrame> menustack;
|
||||
|
|
|
@ -1284,7 +1284,6 @@ void titleinput()
|
|||
if (key.isDown(27) && game.currentmenuname != Menu::youwannaquit && game.menustart)
|
||||
{
|
||||
music.playef(11);
|
||||
game.previousmenuname = game.currentmenuname;
|
||||
game.createmenu(Menu::youwannaquit);
|
||||
map.nexttowercolour();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue