From 9bc6a73686f7880fb9ec51f29d2a9e77d65a7c71 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Thu, 26 May 2016 22:11:32 +0200 Subject: SCUMM HE: Moved global variables of Moonbase AI to the class --- engines/scumm/he/logic/moonbase_logic.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/scumm/he/logic') 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; -- cgit v1.2.3