diff options
author | Paul Gilbert | 2018-04-02 21:06:01 -0400 |
---|---|---|
committer | Paul Gilbert | 2018-04-02 21:06:01 -0400 |
commit | c8b9b7c8a246452339d678f9bbf6f67e23d0aca5 (patch) | |
tree | b540bcd941e933e2164d517649a9f590da267c3d /engines/xeen/dialogs | |
parent | 9f77bb3d842e2b327af963bb45b7d69b3702c09c (diff) | |
download | scummvm-rg350-c8b9b7c8a246452339d678f9bbf6f67e23d0aca5.tar.gz scummvm-rg350-c8b9b7c8a246452339d678f9bbf6f67e23d0aca5.tar.bz2 scummvm-rg350-c8b9b7c8a246452339d678f9bbf6f67e23d0aca5.zip |
XEEN: Fix script for Miles the Cartographer
Diffstat (limited to 'engines/xeen/dialogs')
-rw-r--r-- | engines/xeen/dialogs/dialogs_input.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/xeen/dialogs/dialogs_input.cpp b/engines/xeen/dialogs/dialogs_input.cpp index 0ac8f3612b..974ee7ce54 100644 --- a/engines/xeen/dialogs/dialogs_input.cpp +++ b/engines/xeen/dialogs/dialogs_input.cpp @@ -144,7 +144,6 @@ 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; Window &w = windows[6]; @@ -158,7 +157,7 @@ int StringInput::execute(bool type, const Common::String &expected, Common::String line; if (getString(line, 30, 200, false)) { if (type) { - if (line == intf._interfaceText) { + if (!line.compareToIgnoreCase(scripts._message)) { result = true; } else if (line == expected) { result = (opcode == 55) ? -1 : 1; |