aboutsummaryrefslogtreecommitdiff
path: root/engines/mutationofjb/commands/conditionalcommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mutationofjb/commands/conditionalcommand.h')
-rw-r--r--engines/mutationofjb/commands/conditionalcommand.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/mutationofjb/commands/conditionalcommand.h b/engines/mutationofjb/commands/conditionalcommand.h
index ea1a66afb0..1ca29b6bd6 100644
--- a/engines/mutationofjb/commands/conditionalcommand.h
+++ b/engines/mutationofjb/commands/conditionalcommand.h
@@ -25,16 +25,17 @@
#include "mutationofjb/commands/command.h"
#include "common/scummsys.h"
+#include "common/queue.h"
namespace MutationOfJB {
class ConditionalCommandParser : public CommandParser {
public:
- ConditionalCommandParser(bool firstHash = false) : _lastTag(0), _firstHash(firstHash) {}
+ ConditionalCommandParser(bool firstHash = false) : _firstHash(firstHash) {}
virtual void transition(ScriptParseContext &parseCtx, Command *oldCommand, Command *newCommand, CommandParser *newCommandParser);
virtual void finish(ScriptParseContext &parseCtx) override;
protected:
- char _lastTag;
+ Common::Queue<char> _tags;
private:
bool _firstHash;
};