aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorJoost Peters2009-03-25 10:04:45 +0000
committerJoost Peters2009-03-25 10:04:45 +0000
commit67201f6a7154e4e10f4c2f3ea9d923fcb2b3144e (patch)
tree6817b321bb615de844b7cbaf1cb3632d1eec7192 /engines/sci
parent91d8f6e228cd2fedf26f9434560d1ca8c6cd0908 (diff)
downloadscummvm-rg350-67201f6a7154e4e10f4c2f3ea9d923fcb2b3144e.tar.gz
scummvm-rg350-67201f6a7154e4e10f4c2f3ea9d923fcb2b3144e.tar.bz2
scummvm-rg350-67201f6a7154e4e10f4c2f3ea9d923fcb2b3144e.zip
revert yesterday's change -- apparently this different behavior was intentional.
svn-id: r39683
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/engine/kstring.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/kstring.cpp b/engines/sci/engine/kstring.cpp
index 47488fc357..61c7ee6d47 100644
--- a/engines/sci/engine/kstring.cpp
+++ b/engines/sci/engine/kstring.cpp
@@ -256,7 +256,7 @@ reg_t kParse(EngineState *s, int funct_nr, int argc, reg_t *argv) {
bool res = vocab_tokenize_string(words, string, s->_parserWords, s->_parserSuffixes, &error);
s->parser_valid = 0; /* not valid */
- if (!res && !words.empty()) {
+ if (res && !words.empty()) {
int syntax_fail = 0;