diff options
author | Travis Howell | 2009-01-20 22:49:59 +0000 |
---|---|---|
committer | Travis Howell | 2009-01-20 22:49:59 +0000 |
commit | f8da825177a8554e46deed6008916819574bdbae (patch) | |
tree | d7a9d5fa635f7cb195e4db946bb6f56c21a59f53 /engines | |
parent | 79e4b6b2b2db45559fe6e5d7994b287219e80b25 (diff) | |
download | scummvm-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.cpp | 9 |
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 |