aboutsummaryrefslogtreecommitdiff
path: root/engines/cine/prc.cpp
diff options
context:
space:
mode:
authorChristopher Page2008-07-07 23:47:39 +0000
committerChristopher Page2008-07-07 23:47:39 +0000
commit41938b7644d2f1937f28641eac68218515e1f058 (patch)
treeb6bd2e45a955ec6bcf6bbb6c141ec374e64258b0 /engines/cine/prc.cpp
parent61d25a912ed1a8ca864e7c4dc564624947f3b2fe (diff)
downloadscummvm-rg350-41938b7644d2f1937f28641eac68218515e1f058.tar.gz
scummvm-rg350-41938b7644d2f1937f28641eac68218515e1f058.tar.bz2
scummvm-rg350-41938b7644d2f1937f28641eac68218515e1f058.zip
CINE works with the new GMM implementation
svn-id: r32954
Diffstat (limited to 'engines/cine/prc.cpp')
-rw-r--r--engines/cine/prc.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/cine/prc.cpp b/engines/cine/prc.cpp
index d636479b02..4df82478cd 100644
--- a/engines/cine/prc.cpp
+++ b/engines/cine/prc.cpp
@@ -25,6 +25,7 @@
#include "common/endian.h"
+#include "common/events.h"
#include "cine/cine.h"
#include "cine/various.h"
@@ -53,7 +54,7 @@ void loadPrc(const char *pPrcName) {
// This is copy protection. Used to hang the machine
if (!scumm_stricmp(pPrcName, "L201.ANI")) {
- g_cine->_quit = 1;
+ g_system->getEventManager()->pushEvent(Common::EVENT_QUIT);
return;
}