diff options
author | Eugene Sandulenko | 2019-11-27 19:04:54 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2019-11-27 19:04:54 +0100 |
commit | 0e3c1c7a1294a332f3eab6ae4bdfd8ef95fe7af5 (patch) | |
tree | ff7e024acce8dba102b95b8029e366f5017b96af /engines | |
parent | d86831d690c99c174cf2b6ed0554403763c18a28 (diff) | |
download | scummvm-rg350-0e3c1c7a1294a332f3eab6ae4bdfd8ef95fe7af5.tar.gz scummvm-rg350-0e3c1c7a1294a332f3eab6ae4bdfd8ef95fe7af5.tar.bz2 scummvm-rg350-0e3c1c7a1294a332f3eab6ae4bdfd8ef95fe7af5.zip |
DIRECTOR: LINGO: Explain why tests are skipped
Diffstat (limited to 'engines')
-rw-r--r-- | engines/director/lingo/lingo.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/director/lingo/lingo.cpp b/engines/director/lingo/lingo.cpp index 4b290747f9..365b67c38d 100644 --- a/engines/director/lingo/lingo.cpp +++ b/engines/director/lingo/lingo.cpp @@ -192,7 +192,10 @@ void Lingo::addCode(const char *code, ScriptType type, uint16 id) { begin = end; } - _hadError = true; // HACK: This is for preventing test execution + // Do not execute event handlers, macros and factories + // A side effect of it is that if you had those in your test script, + // then the whole script will not be executed + _hadError = true; debugC(1, kDebugLingoCompile, "Code chunk:\n#####\n%s\n#####", begin); parse(begin); |