aboutsummaryrefslogtreecommitdiff
path: root/engines/mutationofjb/commands/ifitemcommand.cpp
diff options
context:
space:
mode:
authorĽubomír Remák2018-10-31 19:19:41 +0100
committerĽubomír Remák2018-10-31 19:19:41 +0100
commitb87391338e1e91aa213247420e4bfcb7e09e984d (patch)
treef676f490be356a22884e83ba6a6cf62c55726286 /engines/mutationofjb/commands/ifitemcommand.cpp
parent3fb3f659f74e0682fe0ef3ab0dca7a47a0108a58 (diff)
downloadscummvm-rg350-b87391338e1e91aa213247420e4bfcb7e09e984d.tar.gz
scummvm-rg350-b87391338e1e91aa213247420e4bfcb7e09e984d.tar.bz2
scummvm-rg350-b87391338e1e91aa213247420e4bfcb7e09e984d.zip
MUTATIONOFJB: Add basic support for RABLOAD command.
Also fix an issue with parsing IF command. This commit makes the game completable (with many issues).
Diffstat (limited to 'engines/mutationofjb/commands/ifitemcommand.cpp')
-rw-r--r--engines/mutationofjb/commands/ifitemcommand.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mutationofjb/commands/ifitemcommand.cpp b/engines/mutationofjb/commands/ifitemcommand.cpp
index 9695172369..2b9b4d3bea 100644
--- a/engines/mutationofjb/commands/ifitemcommand.cpp
+++ b/engines/mutationofjb/commands/ifitemcommand.cpp
@@ -60,7 +60,7 @@ bool IfItemCommandParser::parse(const Common::String &line, ScriptParseContext &
item.deleteLastChar(); // Remove '!'.
}
- _lastTag = 0;
+ _tags.push(0);
command = new IfItemCommand(item, negative);
return true;