aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorNicola Mettifogo2007-02-07 23:02:51 +0000
committerNicola Mettifogo2007-02-07 23:02:51 +0000
commitd1eb91882e1c4b951b6cb0c019519ebd36ca9847 (patch)
tree6496706fe9b6bc6e1b9a42dd53071a1637fab318 /engines
parentb69562824866e86245209fc9448a38b6c18dab39 (diff)
downloadscummvm-rg350-d1eb91882e1c4b951b6cb0c019519ebd36ca9847.tar.gz
scummvm-rg350-d1eb91882e1c4b951b6cb0c019519ebd36ca9847.tar.bz2
scummvm-rg350-d1eb91882e1c4b951b6cb0c019519ebd36ca9847.zip
fixed location script parsing error causing irritatingly inconsistent gameplay
svn-id: r25421
Diffstat (limited to 'engines')
-rw-r--r--engines/parallaction/commands.cpp2
1 files changed, 1 insertions, 1 deletions
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<const char **>(_globalTable));
cmd->_flagsOff |= 1 << (_al - 1);
} else {
- byte _al = _vm->searchTable(_tokens[_si], const_cast<const char **>(_localFlagNames));
+ byte _al = _vm->searchTable(_tokens[_si], const_cast<const char **>(_globalTable));
cmd->_flagsOn |= 1 << (_al - 1);
}