aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/items.cpp
diff options
context:
space:
mode:
authorTravis Howell2006-10-04 07:10:22 +0000
committerTravis Howell2006-10-04 07:10:22 +0000
commitaab8b9b2a26b29f8fe5c582ec236b7329280fc15 (patch)
tree130661fc8de4312206fc48d32f193347b5f3e206 /engines/agos/items.cpp
parent863bed3fd034ab9e7a93d5426aab5c00297f4340 (diff)
downloadscummvm-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.cpp4
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();