aboutsummaryrefslogtreecommitdiff
path: root/engines/lilliput
diff options
context:
space:
mode:
authorStrangerke2012-06-20 22:58:38 +0200
committerEugene Sandulenko2018-03-28 17:36:57 +0200
commitf68712fbadfb23801693110c65f8ea3e9c14c6e4 (patch)
tree8f0655439056d723b283c338434ebf68b8e155f9 /engines/lilliput
parent98032809dd9a5ac659f2ef84398e9dab482d3b77 (diff)
downloadscummvm-rg350-f68712fbadfb23801693110c65f8ea3e9c14c6e4.tar.gz
scummvm-rg350-f68712fbadfb23801693110c65f8ea3e9c14c6e4.tar.bz2
scummvm-rg350-f68712fbadfb23801693110c65f8ea3e9c14c6e4.zip
LILLIPUT: Partially fix map closing
Diffstat (limited to 'engines/lilliput')
-rw-r--r--engines/lilliput/lilliput.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/lilliput/lilliput.cpp b/engines/lilliput/lilliput.cpp
index 2b9f57962d..14b0e1c584 100644
--- a/engines/lilliput/lilliput.cpp
+++ b/engines/lilliput/lilliput.cpp
@@ -1004,9 +1004,8 @@ void LilliputEngine::checkMapClosing(bool &forceReturnFl) {
return;
pollEvent();
- if (_keyboard_checkKeyboard()) {
+ if (!_keyboard_checkKeyboard()) {
_keyboard_getch();
- return;
} else {
if (_mouseButton != 1)
return;