From e5ab69614823578eefdd4cb9efa6bc4d9b9e1ffb Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Fri, 29 Dec 2017 22:19:35 -0500 Subject: XEEN: Fix teleporting using magic mirror --- engines/xeen/dialogs_input.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/xeen') diff --git a/engines/xeen/dialogs_input.cpp b/engines/xeen/dialogs_input.cpp index 8346c8e47b..6437778f7c 100644 --- a/engines/xeen/dialogs_input.cpp +++ b/engines/xeen/dialogs_input.cpp @@ -144,6 +144,7 @@ int StringInput::show(XeenEngine *vm, bool type, const Common::String &msg1, int StringInput::execute(bool type, const Common::String &expected, const Common::String &title, int opcode) { + FileManager &files = *_vm->_files; Interface &intf = *_vm->_interface; Scripts &scripts = *_vm->_scripts; Windows &windows = *_vm->_windows; @@ -165,8 +166,7 @@ int StringInput::execute(bool type, const Common::String &expected, } } else { // Load in the mirror list - File f(Common::String::format("%smirr.txt", - _vm->_files->_isDarkCc ? "dark" : "xeen")); + File f(Common::String::format("%smirr.txt", files._isDarkCc ? "dark" : "xeen"), 1); MirrorEntry me; scripts._mirror.clear(); while (me.synchronize(f)) -- cgit v1.2.3