diff options
author | Travis Howell | 2004-08-21 09:02:45 +0000 |
---|---|---|
committer | Travis Howell | 2004-08-21 09:02:45 +0000 |
commit | 01c0cb3d8f2e227baafe079f9528b9e9b2da115b (patch) | |
tree | 7bc758210bfac26a81ddbca9c1b09e3e551deb84 /scumm/script_v5.cpp | |
parent | b318794cc1ae531ce7ed7aa4d0b0f73559cad2fd (diff) | |
download | scummvm-rg350-01c0cb3d8f2e227baafe079f9528b9e9b2da115b.tar.gz scummvm-rg350-01c0cb3d8f2e227baafe079f9528b9e9b2da115b.tar.bz2 scummvm-rg350-01c0cb3d8f2e227baafe079f9528b9e9b2da115b.zip |
Skip copy protection screen in indy3ega.
svn-id: r14663
Diffstat (limited to 'scumm/script_v5.cpp')
-rw-r--r-- | scumm/script_v5.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/scumm/script_v5.cpp b/scumm/script_v5.cpp index 5525c21988..e53908e240 100644 --- a/scumm/script_v5.cpp +++ b/scumm/script_v5.cpp @@ -1463,6 +1463,14 @@ void ScummEngine_v5::o5_loadRoom() { room = getVarOrDirectByte(PARAM_1); + if (!_copyProtection) { + // Skip copy protection scheme + if (_gameId == GID_INDY3 && (_features & GF_OLD_BUNDLE) && room == 92) { + VAR(57) = 1; + return; + } + } + // For small header games, we only call startScene if the room // actually changed. This avoid unwanted (wrong) fades in Zak256 // and others. OTOH, it seems to cause a problem in newer games. |