aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/he/logic
diff options
context:
space:
mode:
authorEugene Sandulenko2016-05-26 22:11:32 +0200
committerEugene Sandulenko2016-05-26 22:11:32 +0200
commit9bc6a73686f7880fb9ec51f29d2a9e77d65a7c71 (patch)
tree54832e41c6706e4f4320a9f3c99fd23ddad8a043 /engines/scumm/he/logic
parentdcc388cbaa84909e2974738685618e696f95c952 (diff)
downloadscummvm-rg350-9bc6a73686f7880fb9ec51f29d2a9e77d65a7c71.tar.gz
scummvm-rg350-9bc6a73686f7880fb9ec51f29d2a9e77d65a7c71.tar.bz2
scummvm-rg350-9bc6a73686f7880fb9ec51f29d2a9e77d65a7c71.zip
SCUMM HE: Moved global variables of Moonbase AI to the class
Diffstat (limited to 'engines/scumm/he/logic')
-rw-r--r--engines/scumm/he/logic/moonbase_logic.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/he/logic/moonbase_logic.cpp b/engines/scumm/he/logic/moonbase_logic.cpp
index 9d9561abd1..1b596fc54c 100644
--- a/engines/scumm/he/logic/moonbase_logic.cpp
+++ b/engines/scumm/he/logic/moonbase_logic.cpp
@@ -59,9 +59,9 @@ private:
};
int LogicHEmoonbase::versionID() {
- if (_vm1->_game.features & GF_DEMO)
+ if (_vm->_game.features & GF_DEMO)
return -100;
- else if (strcmp(_vm1->_game.variant, "1.1") == 0)
+ else if (strcmp(_vm->_game.variant, "1.1") == 0)
return 110;
else
return 100;