aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/items.cpp
diff options
context:
space:
mode:
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();