diff options
Diffstat (limited to 'engines/hugo/parser.cpp')
-rw-r--r-- | engines/hugo/parser.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/engines/hugo/parser.cpp b/engines/hugo/parser.cpp index dbd0adab55..9c2a57286f 100644 --- a/engines/hugo/parser.cpp +++ b/engines/hugo/parser.cpp @@ -137,9 +137,13 @@ void Parser::keyHandler(Common::Event event) { // Process key down event - called from OnKeyDown() switch (nChar) { // Set various toggle states case Common::KEYCODE_ESCAPE: // Escape key, may want to QUIT - if (gameStatus.inventoryState == I_ACTIVE) // Remove inventory, if displayed - gameStatus.inventoryState = I_UP; - _vm->_screen->resetInventoryObjId(); + if (gameStatus.viewState == V_INTRO) + gameStatus.skipIntroFl = true; + else { + if (gameStatus.inventoryState == I_ACTIVE) // Remove inventory, if displayed + gameStatus.inventoryState = I_UP; + _vm->_screen->resetInventoryObjId(); + } break; case Common::KEYCODE_END: case Common::KEYCODE_HOME: |