From b29413965cc765325f2913242ce777088bb2f9e9 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 8 Aug 2015 12:09:15 -0400 Subject: SHERLOCK: RT: Show the GMM if user clicks when credits are being displayed --- engines/sherlock/tattoo/tattoo_user_interface.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'engines') 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(); -- cgit v1.2.3