mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-23 01:59:43 +01:00
Remove unnecessary createmenu(Menu::graphicoptions) calls
These aren't necessary, the menu will update regardless. There isn't even such a call for the mouse cursor toggle option, that's how unnecessary it is.
This commit is contained in:
parent
bf4427c75a
commit
80ae625585
1 changed files with 0 additions and 4 deletions
|
@ -308,7 +308,6 @@ void menuactionpress()
|
|||
graphics.screenbuffer->toggleFullScreen();
|
||||
game.fullscreen = !game.fullscreen;
|
||||
game.savestats();
|
||||
game.createmenu(Menu::graphicoptions);
|
||||
game.currentmenuoption = 0;
|
||||
break;
|
||||
case 1:
|
||||
|
@ -316,7 +315,6 @@ void menuactionpress()
|
|||
graphics.screenbuffer->toggleStretchMode();
|
||||
game.stretchMode = (game.stretchMode + 1) % 3;
|
||||
game.savestats();
|
||||
game.createmenu(Menu::graphicoptions);
|
||||
game.currentmenuoption = 1;
|
||||
break;
|
||||
case 2:
|
||||
|
@ -324,7 +322,6 @@ void menuactionpress()
|
|||
graphics.screenbuffer->toggleLinearFilter();
|
||||
game.useLinearFilter = !game.useLinearFilter;
|
||||
game.savestats();
|
||||
game.createmenu(Menu::graphicoptions);
|
||||
game.currentmenuoption = 2;
|
||||
break;
|
||||
case 3:
|
||||
|
@ -333,7 +330,6 @@ void menuactionpress()
|
|||
game.fullScreenEffect_badSignal = !game.fullScreenEffect_badSignal;
|
||||
graphics.screenbuffer->badSignalEffect= !graphics.screenbuffer->badSignalEffect;
|
||||
game.savestats();
|
||||
game.createmenu(Menu::graphicoptions);
|
||||
game.currentmenuoption = 3;
|
||||
break;
|
||||
case 4:
|
||||
|
|
Loading…
Reference in a new issue