aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorChristopher Page2008-07-10 05:25:52 +0000
committerChristopher Page2008-07-10 05:25:52 +0000
commit1fd613afa681fc3a81d9ed3f5c6fb34513ca2fd7 (patch)
tree3a01485330899d0648b27c90345ce9bd4488b591 /engines
parent30b1a62e810cfbe3246ebb9b94aa341ea3be5f7c (diff)
downloadscummvm-rg350-1fd613afa681fc3a81d9ed3f5c6fb34513ca2fd7.tar.gz
scummvm-rg350-1fd613afa681fc3a81d9ed3f5c6fb34513ca2fd7.tar.bz2
scummvm-rg350-1fd613afa681fc3a81d9ed3f5c6fb34513ca2fd7.zip
Changed CINE to RTL when copy protection fails instead of Quit
svn-id: r32985
Diffstat (limited to 'engines')
-rw-r--r--engines/cine/prc.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/cine/prc.cpp b/engines/cine/prc.cpp
index 10ebd87cd6..42dcf1b491 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,9 @@ void loadPrc(const char *pPrcName) {
// This is copy protection. Used to hang the machine
if (!scumm_stricmp(pPrcName, "L201.ANI")) {
- g_cine->quitGame();
+ Common::Event event;
+ event.type = Common::EVENT_RTL;
+ g_system->getEventManager()->pushEvent(event);
return;
}