aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/vqa.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/kyra/vqa.cpp')
-rw-r--r--engines/kyra/vqa.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/kyra/vqa.cpp b/engines/kyra/vqa.cpp
index c55c573ea3..3d18f27c7e 100644
--- a/engines/kyra/vqa.cpp
+++ b/engines/kyra/vqa.cpp
@@ -32,6 +32,7 @@
// The jung2.vqa movie does work, but only thanks to a grotesque hack.
+#include "common/events.h"
#include "common/system.h"
#include "sound/audiostream.h"
#include "sound/mixer.h"
@@ -670,8 +671,8 @@ void VQAMovie::play() {
if (event.kbd.ascii == 27)
return;
break;
- case Common::EVENT_RTL:
case Common::EVENT_QUIT:
+ _vm->quitGame();
return;
default:
break;