aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorTravis Howell2009-01-20 22:49:59 +0000
committerTravis Howell2009-01-20 22:49:59 +0000
commitf8da825177a8554e46deed6008916819574bdbae (patch)
treed7a9d5fa635f7cb195e4db946bb6f56c21a59f53 /engines
parent79e4b6b2b2db45559fe6e5d7994b287219e80b25 (diff)
downloadscummvm-rg350-f8da825177a8554e46deed6008916819574bdbae.tar.gz
scummvm-rg350-f8da825177a8554e46deed6008916819574bdbae.tar.bz2
scummvm-rg350-f8da825177a8554e46deed6008916819574bdbae.zip
Bypass copy protection screen completely in Waxworks, since copy protection is disabled in Good Old Games release.
svn-id: r35963
Diffstat (limited to 'engines')
-rw-r--r--engines/agos/script.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/engines/agos/script.cpp b/engines/agos/script.cpp
index 3771e2fba5..edbb3a7a72 100644
--- a/engines/agos/script.cpp
+++ b/engines/agos/script.cpp
@@ -422,7 +422,14 @@ void AGOSEngine::o_done() {
void AGOSEngine::o_process() {
// 71: start subroutine
- Subroutine *sub = getSubroutineByID(getVarOrWord());
+ uint16 id = getVarOrWord();
+
+ if (!_copyProtection && getGameType() == GType_WW && id == 71) {
+ // Copy protection was disabled in Good Old Games release
+ return;
+ }
+
+ Subroutine *sub = getSubroutineByID(id);
if (sub != NULL) {
#ifdef __DS__
// HACK: Skip scene of Simon reading letter from Calypso