Permalink
Browse files

XEEN: Fix teleporting using magic mirror

  • Loading branch information...
dreammaster committed Dec 30, 2017
1 parent 27c3e44 commit e5ab69614823578eefdd4cb9efa6bc4d9b9e1ffb
Showing with 2 additions and 2 deletions.
  1. +2 −2 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))

0 comments on commit e5ab696

Please sign in to comment.