diff options
author | Sven Hesse | 2006-08-12 12:35:18 +0000 |
---|---|---|
committer | Sven Hesse | 2006-08-12 12:35:18 +0000 |
commit | 6ee511e68b2f66ebb2bb63a6492073a2ed120947 (patch) | |
tree | 0f6dc4560b3b00896e708bb534e9ca8d7679dd53 /engines/gob/inter_v1.cpp | |
parent | 1c4715b71f79acede6b3758cfd16881bad14e23e (diff) | |
download | scummvm-rg350-6ee511e68b2f66ebb2bb63a6492073a2ed120947.tar.gz scummvm-rg350-6ee511e68b2f66ebb2bb63a6492073a2ed120947.tar.bz2 scummvm-rg350-6ee511e68b2f66ebb2bb63a6492073a2ed120947.zip |
Added another field to the GameSettings for the intro.tot, because the Gobliins 2 demo uses usa.tot
instead
svn-id: r23701
Diffstat (limited to 'engines/gob/inter_v1.cpp')
-rw-r--r-- | engines/gob/inter_v1.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/gob/inter_v1.cpp b/engines/gob/inter_v1.cpp index c9067f39b9..747df52ad2 100644 --- a/engines/gob/inter_v1.cpp +++ b/engines/gob/inter_v1.cpp @@ -1757,14 +1757,14 @@ bool Inter_v1::o1_callSub(char &cmdCount, int16 &counter, int16 &retFlag) { // Skipping the copy protection screen in Gobliiins if (!_vm->_copyProtection && (_vm->_features & GF_GOB1) && (offset == 3905) - && !scumm_stricmp(_vm->_game->_curTotFile, "intro.tot")) { + && !scumm_stricmp(_vm->_game->_curTotFile, _vm->_startTot)) { debugC(2, DEBUG_GAMEFLOW, "Skipping copy protection screen"); _vm->_global->_inter_execPtr += 2; return false; } // Skipping the copy protection screen in Gobliins 2 if (!_vm->_copyProtection && (_vm->_features & GF_GOB2) && (offset == 1746) - && !scumm_stricmp(_vm->_game->_curTotFile, "intro0.tot")) { + && !scumm_stricmp(_vm->_game->_curTotFile, _vm->_startTot0)) { warning("=> Skipping copy protection screen"); debugC(2, DEBUG_GAMEFLOW, "Skipping copy protection screen"); _vm->_global->_inter_execPtr += 2; |