diff options
author | Paweł Kołodziejski | 2004-11-19 22:30:18 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2004-11-19 22:30:18 +0000 |
commit | 734a7d31025ba0ad2a1e494b3117b255c78772f4 (patch) | |
tree | 55a08fe3b9319a4f7c858a326260ec7bd07a8c39 | |
parent | 8dc5c9843c5eae8e9d450e5e757d772df81f99dc (diff) | |
download | scummvm-rg350-734a7d31025ba0ad2a1e494b3117b255c78772f4.tar.gz scummvm-rg350-734a7d31025ba0ad2a1e494b3117b255c78772f4.tar.bz2 scummvm-rg350-734a7d31025ba0ad2a1e494b3117b255c78772f4.zip |
fixed missed ctrl key handle, and missed create() walklthrough call
svn-id: r15840
-rw-r--r-- | saga/input.cpp | 2 | ||||
-rw-r--r-- | saga/saga.cpp | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/saga/input.cpp b/saga/input.cpp index 425bb2467d..0cf467fb96 100644 --- a/saga/input.cpp +++ b/saga/input.cpp @@ -42,7 +42,7 @@ int SagaEngine::processInput() { switch (event.event_code) { case OSystem::EVENT_KEYDOWN: - if (event.kbd.keycode == 'w') + if ((event.kbd.flags == OSystem::KBD_CTRL) && (event.kbd.keycode == 'w')) _walkthroughDialog->runModal(); if (_vm->_console->isActive()) { in_char = event.kbd.ascii; diff --git a/saga/saga.cpp b/saga/saga.cpp index d12f1b2113..b9caf9e3ec 100644 --- a/saga/saga.cpp +++ b/saga/saga.cpp @@ -117,6 +117,7 @@ SagaEngine::SagaEngine(GameDetector *detector, OSystem *syst) _vm = this; _walkthroughDialog->setGameName(detector->_game.name); + _walkthroughDialog->create(); } SagaEngine::~SagaEngine() { |