diff options
Diffstat (limited to 'engines/mutationofjb/commands/ifcommand.h')
-rw-r--r-- | engines/mutationofjb/commands/ifcommand.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/mutationofjb/commands/ifcommand.h b/engines/mutationofjb/commands/ifcommand.h index 290260be93..9462278483 100644 --- a/engines/mutationofjb/commands/ifcommand.h +++ b/engines/mutationofjb/commands/ifcommand.h @@ -33,7 +33,7 @@ class ScriptParseContext; class IfCommandParser : public CommandParser { public: virtual bool parse(const Common::String &line, ScriptParseContext &parseCtx, Command *&command); - virtual void transition(ScriptParseContext &parseCtx, Command *oldCommand, Command *newCommand); + virtual void transition(ScriptParseContext &parseCtx, Command *oldCommand, Command *newCommand, CommandParser *newCommandParser); }; class IfCommand : public ConditionalCommand { @@ -43,6 +43,7 @@ public: IfCommand(uint8 sceneId, uint8 objectId, uint16 value, bool negative); virtual ExecuteResult execute(GameData &gameData) override; + virtual Common::String debugString() const; private: uint8 _sceneId; |