aboutsummaryrefslogtreecommitdiff
path: root/engines/queen/input.cpp
diff options
context:
space:
mode:
authorMax Horn2008-09-01 17:55:52 +0000
committerMax Horn2008-09-01 17:55:52 +0000
commitdcd52c1210506128ee659f3bda0bd40c85a2959e (patch)
tree98dddd5ee6e57c2d959ba37390ec89f40aa5147e /engines/queen/input.cpp
parent91df44f8f6448e9adad901cd675926335d84b9db (diff)
parent852bc9dbb750b9995d31e70f4158c97d3758c46f (diff)
downloadscummvm-rg350-dcd52c1210506128ee659f3bda0bd40c85a2959e.tar.gz
scummvm-rg350-dcd52c1210506128ee659f3bda0bd40c85a2959e.tar.bz2
scummvm-rg350-dcd52c1210506128ee659f3bda0bd40c85a2959e.zip
Merging more of the GSoC 2008 RTL branch: QUEEN
svn-id: r34247
Diffstat (limited to 'engines/queen/input.cpp')
-rw-r--r--engines/queen/input.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/queen/input.cpp b/engines/queen/input.cpp
index 9f03c341c9..84e21fbcaa 100644
--- a/engines/queen/input.cpp
+++ b/engines/queen/input.cpp
@@ -118,9 +118,10 @@ void Input::delay(uint amount) {
case Common::EVENT_RBUTTONDOWN:
_mouseButton |= MOUSE_RBUTTON;
break;
-
+ case Common::EVENT_RTL:
case Common::EVENT_QUIT:
- _vm->quitGame();
+ if (_cutawayRunning)
+ _cutawayQuit = true;
return;
default: