diff options
-rw-r--r-- | engines/sherlock/tattoo/tattoo_user_interface.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/engines/sherlock/tattoo/tattoo_user_interface.cpp b/engines/sherlock/tattoo/tattoo_user_interface.cpp index 71471970a9..275ba2f0a0 100644 --- a/engines/sherlock/tattoo/tattoo_user_interface.cpp +++ b/engines/sherlock/tattoo/tattoo_user_interface.cpp @@ -378,6 +378,17 @@ void TattooUserInterface::doStandardControl() { if (vm._runningProlog) return; + // When the end credits are active, any press will open the ScummVM global main menu + if (_creditsWidget.active()) { + if (_keyState.keycode || events._released || events._rightReleased) { + vm._canLoadSave = true; + vm.openMainMenuDialog(); + vm._canLoadSave = false; + } + + return; + } + // Display the names of any Objects the cursor is pointing at displayObjectNames(); |