diff options
-rw-r--r-- | engines/toltecs/TODO.txt | 1 | ||||
-rw-r--r-- | engines/toltecs/menu.cpp | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/toltecs/TODO.txt b/engines/toltecs/TODO.txt index 449ffcbe15..0b9970d314 100644 --- a/engines/toltecs/TODO.txt +++ b/engines/toltecs/TODO.txt @@ -11,7 +11,6 @@ TODO the whole screen when the game is saved when such an animation is running since it uses delta-frames so currently, once restored, the screen is wrong. This is only observed in a few places. -- Add "Quit game" functionality to the menu BUGS ------ diff --git a/engines/toltecs/menu.cpp b/engines/toltecs/menu.cpp index 54527c650c..7629bf4882 100644 --- a/engines/toltecs/menu.cpp +++ b/engines/toltecs/menu.cpp @@ -352,7 +352,8 @@ void MenuSystem::clickItem(ItemID id) { _running = false; break; case kItemIdQuit: - debug("kItemIdQuit"); + _running = false; + _vm->quitGame(); break; // Volumes menu case kItemIdMasterUp: |