aboutsummaryrefslogtreecommitdiff
path: root/engines/bladerunner
diff options
context:
space:
mode:
authorThanasis Antoniou2019-06-24 11:23:00 +0300
committerThanasis Antoniou2019-06-24 11:23:00 +0300
commit66bd815e044de2d0ca543a225ccc72bfe84021d1 (patch)
tree358458c34c169cea3f627c1a44a441ebf8c6f875 /engines/bladerunner
parenta1ad1aeb8de590f734c4c2be1af01ef41eb18263 (diff)
downloadscummvm-rg350-66bd815e044de2d0ca543a225ccc72bfe84021d1.tar.gz
scummvm-rg350-66bd815e044de2d0ca543a225ccc72bfe84021d1.tar.bz2
scummvm-rg350-66bd815e044de2d0ca543a225ccc72bfe84021d1.zip
BLADERUNNER: Switch to forced key down after modal dialogue
Modal dialogue prompt about loading an Uncut version game in original mode or vice versa would not close KIA any more
Diffstat (limited to 'engines/bladerunner')
-rw-r--r--engines/bladerunner/bladerunner.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/bladerunner/bladerunner.cpp b/engines/bladerunner/bladerunner.cpp
index 6a362c82b0..e3e54299fb 100644
--- a/engines/bladerunner/bladerunner.cpp
+++ b/engines/bladerunner/bladerunner.cpp
@@ -2043,11 +2043,11 @@ bool BladeRunnerEngine::loadGame(Common::SeekableReadStream &stream) {
GUI::MessageDialog dialog(warningMsg, _("Continue"), 0);
dialog.runModal();
_cutContent = !_cutContent;
- // force a Key Up event, since we need it to remove the KIA
+ // force a Key Down event, since we need it to remove the KIA
// but it's lost due to the modal dialogue
Common::EventManager *eventMan = _system->getEventManager();
Common::Event event;
- event.type = Common::EVENT_KEYUP;
+ event.type = Common::EVENT_KEYDOWN;
eventMan->pushEvent(event);
}