aboutsummaryrefslogtreecommitdiff
path: root/engines/hugo
diff options
context:
space:
mode:
authorArnaud Boutonné2010-12-31 14:50:22 +0000
committerArnaud Boutonné2010-12-31 14:50:22 +0000
commit1df582aecb7f11ecc9e75de1de6a4b442595d8d4 (patch)
tree1b1d03ad21d296134457c955106273312307d147 /engines/hugo
parente48b07e3bd5934b92a5349cde56188994f8ca78e (diff)
downloadscummvm-rg350-1df582aecb7f11ecc9e75de1de6a4b442595d8d4.tar.gz
scummvm-rg350-1df582aecb7f11ecc9e75de1de6a4b442595d8d4.tar.bz2
scummvm-rg350-1df582aecb7f11ecc9e75de1de6a4b442595d8d4.zip
HUGO: F6 now also closes inventory in Win versions
svn-id: r55076
Diffstat (limited to 'engines/hugo')
-rw-r--r--engines/hugo/parser_v1w.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/hugo/parser_v1w.cpp b/engines/hugo/parser_v1w.cpp
index cc82dfa3c2..e3478b2aa4 100644
--- a/engines/hugo/parser_v1w.cpp
+++ b/engines/hugo/parser_v1w.cpp
@@ -111,6 +111,9 @@ void Parser_v1w::keyHandler(Common::Event event) {
if ((gameStatus.inventoryState == I_OFF) && (gameStatus.viewState == V_PLAY)) {
gameStatus.inventoryState = I_DOWN;
gameStatus.viewState = V_INVENT;
+ } else if (gameStatus.inventoryState == I_ACTIVE) {
+ gameStatus.inventoryState = I_UP;
+ gameStatus.viewState = V_INVENT;
}
break;
case Common::KEYCODE_F8: // Turbo mode