diff options
Diffstat (limited to 'engines/mutationofjb/commands/endblockcommand.h')
-rw-r--r-- | engines/mutationofjb/commands/endblockcommand.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/mutationofjb/commands/endblockcommand.h b/engines/mutationofjb/commands/endblockcommand.h index 3af86a3d82..140fb21917 100644 --- a/engines/mutationofjb/commands/endblockcommand.h +++ b/engines/mutationofjb/commands/endblockcommand.h @@ -33,13 +33,14 @@ class ActionInfo; class EndBlockCommandParser : public CommandParser { public: - EndBlockCommandParser() : _elseFound(false), _ifTag(0) {} + EndBlockCommandParser() : _elseFound(false), _hashFound(false), _ifTag(0) {} virtual bool parse(const Common::String &line, ScriptParseContext &parseCtx, Command *&command) override; virtual void transition(ScriptParseContext &parseCtx, Command *oldCommand, Command *newCommand, CommandParser *newCommandParser) override; virtual void finish(ScriptParseContext &parseCtx) override; private: bool _elseFound; + bool _hashFound; char _ifTag; Common::Array<uint> _pendingActionInfos; |