diff options
author | Paul Gilbert | 2015-08-08 12:09:15 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-08-08 12:09:15 -0400 |
commit | b29413965cc765325f2913242ce777088bb2f9e9 (patch) | |
tree | 1b62bef09e02613ee9621489c0ce32264a6203c1 /engines/sherlock | |
parent | 328c0d761f68853470ff88abda235c76b7f9532d (diff) | |
download | scummvm-rg350-b29413965cc765325f2913242ce777088bb2f9e9.tar.gz scummvm-rg350-b29413965cc765325f2913242ce777088bb2f9e9.tar.bz2 scummvm-rg350-b29413965cc765325f2913242ce777088bb2f9e9.zip |
SHERLOCK: RT: Show the GMM if user clicks when credits are being displayed
Diffstat (limited to 'engines/sherlock')
-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(); |