diff options
author | Alyssa Milburn | 2010-12-12 23:11:23 +0000 |
---|---|---|
committer | Alyssa Milburn | 2010-12-12 23:11:23 +0000 |
commit | 0650934337b713e80415298b794ef22eb0427dfe (patch) | |
tree | 4eeb2161a545e74f3d4b550dd8616a6cca138bc3 /engines/mohawk | |
parent | 47e972638598b83e420747d0baefd5d83cdf561f (diff) | |
download | scummvm-rg350-0650934337b713e80415298b794ef22eb0427dfe.tar.gz scummvm-rg350-0650934337b713e80415298b794ef22eb0427dfe.tar.bz2 scummvm-rg350-0650934337b713e80415298b794ef22eb0427dfe.zip |
MOHAWK: Handle chained LB commands
svn-id: r54895
Diffstat (limited to 'engines/mohawk')
-rw-r--r-- | engines/mohawk/livingbooks.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/mohawk/livingbooks.cpp b/engines/mohawk/livingbooks.cpp index fe17052b31..a665d52bd0 100644 --- a/engines/mohawk/livingbooks.cpp +++ b/engines/mohawk/livingbooks.cpp @@ -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++; } } |