diff options
Diffstat (limited to 'engines/mutationofjb/commands/talkcommand.h')
-rw-r--r-- | engines/mutationofjb/commands/talkcommand.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/mutationofjb/commands/talkcommand.h b/engines/mutationofjb/commands/talkcommand.h index 09424b2f06..15b185c613 100644 --- a/engines/mutationofjb/commands/talkcommand.h +++ b/engines/mutationofjb/commands/talkcommand.h @@ -25,6 +25,7 @@ #include "mutationofjb/commands/seqcommand.h" #include "common/scummsys.h" +#include "mutationofjb/tasks/task.h" namespace MutationOfJB { @@ -43,13 +44,13 @@ public: CARNIVAL_TICKET_SELLER_MODE }; - TalkCommand(Mode mode) : _mode(mode), _task(nullptr) {} + TalkCommand(Mode mode) : _mode(mode) {} virtual ExecuteResult execute(ScriptExecutionContext &scriptExecCtx) override; virtual Common::String debugString() const; private: Mode _mode; - ConversationTask *_task; + TaskPtr _task; }; } |