MOHAWK: Handle chained LB commands

svn-id: r54895
This commit is contained in:
Alyssa Milburn 2010-12-12 23:11:23 +00:00
parent 47e9726385
commit 0650934337

View File

@ -2600,6 +2600,9 @@ void LBItem::runCommand(const Common::String &command) {
else if (op == "--")
_vm->_variables[varname].integer--;
}
if (pos < command.size() && command[pos] == ';')
pos++;
}
}