diff options
Diffstat (limited to 'engines')
-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++; } } |