From d1eb91882e1c4b951b6cb0c019519ebd36ca9847 Mon Sep 17 00:00:00 2001 From: Nicola Mettifogo Date: Wed, 7 Feb 2007 23:02:51 +0000 Subject: fixed location script parsing error causing irritatingly inconsistent gameplay svn-id: r25421 --- engines/parallaction/commands.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/parallaction/commands.cpp b/engines/parallaction/commands.cpp index 0fe79a255e..fada14c94e 100644 --- a/engines/parallaction/commands.cpp +++ b/engines/parallaction/commands.cpp @@ -174,7 +174,7 @@ Command *parseCommands(ArchivedFile *file) { byte _al = _vm->searchTable(&_tokens[_si][2], const_cast(_globalTable)); cmd->_flagsOff |= 1 << (_al - 1); } else { - byte _al = _vm->searchTable(_tokens[_si], const_cast(_localFlagNames)); + byte _al = _vm->searchTable(_tokens[_si], const_cast(_globalTable)); cmd->_flagsOn |= 1 << (_al - 1); } -- cgit v1.2.3