diff options
author | Travis Howell | 2006-10-04 07:10:22 +0000 |
---|---|---|
committer | Travis Howell | 2006-10-04 07:10:22 +0000 |
commit | aab8b9b2a26b29f8fe5c582ec236b7329280fc15 (patch) | |
tree | 130661fc8de4312206fc48d32f193347b5f3e206 /engines/agos/items.cpp | |
parent | 863bed3fd034ab9e7a93d5426aab5c00297f4340 (diff) | |
download | scummvm-rg350-aab8b9b2a26b29f8fe5c582ec236b7329280fc15.tar.gz scummvm-rg350-aab8b9b2a26b29f8fe5c582ec236b7329280fc15.tar.bz2 scummvm-rg350-aab8b9b2a26b29f8fe5c582ec236b7329280fc15.zip |
Fix initial resource loading in Elvira 2
svn-id: r24106
Diffstat (limited to 'engines/agos/items.cpp')
-rw-r--r-- | engines/agos/items.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/agos/items.cpp b/engines/agos/items.cpp index 80c0eb3f03..e53ef8095b 100644 --- a/engines/agos/items.cpp +++ b/engines/agos/items.cpp @@ -2618,7 +2618,7 @@ int AGOSEngine::runScript() { if (_continousMainScript) dumpOpcode(_codePtr); - if (getGameType() == GType_ELVIRA || getGameType() == GType_ELVIRA2) { + if (getGameType() == GType_ELVIRA) { opcode = getVarOrWord(); if (opcode == 10000) return 0; @@ -2634,7 +2634,7 @@ int AGOSEngine::runScript() { /* Invert condition? */ flag = false; - if (getGameType() == GType_ELVIRA || getGameType() == GType_ELVIRA2) { + if (getGameType() == GType_ELVIRA) { if (opcode == 203) { flag = true; opcode = getVarOrWord(); |