aboutsummaryrefslogtreecommitdiff
path: root/scumm/script.cpp
diff options
context:
space:
mode:
authorTravis Howell2003-04-25 09:16:33 +0000
committerTravis Howell2003-04-25 09:16:33 +0000
commit3ecd142d6ccac4e3356c214e05bc2c37b4c9b0c5 (patch)
treedcec43a2c0e68275c608acb9e76159f215a6a970 /scumm/script.cpp
parenta1c43eae082ffe30bd6af4f96219937426f0b02b (diff)
downloadscummvm-rg350-3ecd142d6ccac4e3356c214e05bc2c37b4c9b0c5.tar.gz
scummvm-rg350-3ecd142d6ccac4e3356c214e05bc2c37b4c9b0c5.tar.bz2
scummvm-rg350-3ecd142d6ccac4e3356c214e05bc2c37b4c9b0c5.zip
Add patch #727309 - EGA LOOM: Bypassing the copy protection
svn-id: r7102
Diffstat (limited to 'scumm/script.cpp')
-rw-r--r--scumm/script.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/scumm/script.cpp b/scumm/script.cpp
index cf6bd92207..8a1ae97e65 100644
--- a/scumm/script.cpp
+++ b/scumm/script.cpp
@@ -379,6 +379,9 @@ int Scumm::readVar(uint var) {
// INDY3 checks this during the game...
if (var == 94 && _gameId == GID_INDY3 && b == 4) {
return 0;
+ } else if (var == 214 && b == 15 && _gameId == GID_LOOM && !copyprotbypassed) {
+ copyprotbypassed = true;
+ return 0;
} else
#endif
return (_vars[ var ] & ( 1 << b ) ) ? 1 : 0;