Game saves when exiting to the main menu or quitting the game in general. Rings are now properly in the Accessories tab instead of the equipment tab. Fixed using == comparison instead of bitwise AND comparisons for accessory detection.
This commit is contained in:
@@ -40,6 +40,7 @@ All rights reserved.
|
||||
#include "Crawler.h"
|
||||
#include "CharacterRotatingDisplay.h"
|
||||
#include "ClassInfo.h"
|
||||
#include "SaveFile.h"
|
||||
|
||||
INCLUDE_game
|
||||
INCLUDE_GFX
|
||||
@@ -58,6 +59,7 @@ void Menu::InitializeOverworldMenuWindow(){
|
||||
overworldMenuWindow->ADD("Settings Button",MenuComponent)({{4,12+28*3},{88,24}},"Settings",[](MenuFuncData data){/*Menu::OpenMenu(SETTINGS_MENU);*/return true;})END;
|
||||
overworldMenuWindow->ADD("Quit Button",MenuComponent)({{4,12+28*4},{88,24}},"Quit Game",[](MenuFuncData data){
|
||||
Menu::CloseAllMenus();
|
||||
SaveFile::SaveGame();
|
||||
game->ResetGame();
|
||||
return true;
|
||||
})END;
|
||||
|
||||
Reference in New Issue
Block a user