aboutsummaryrefslogtreecommitdiff
path: root/engines/mutationofjb/commands/playanimationcommand.h
diff options
context:
space:
mode:
authorĽubomír Remák2019-02-03 23:35:43 +0100
committerĽubomír Remák2019-02-03 23:35:43 +0100
commitd18c83e8b8b96c3849b7bdd34b17a6bb91da4e78 (patch)
tree93a1e7889e67a81fd61808edbdf62e6630ade949 /engines/mutationofjb/commands/playanimationcommand.h
parent66400e7422ffe154b30e640fd26ababa4269a6f7 (diff)
downloadscummvm-rg350-d18c83e8b8b96c3849b7bdd34b17a6bb91da4e78.tar.gz
scummvm-rg350-d18c83e8b8b96c3849b7bdd34b17a6bb91da4e78.tar.bz2
scummvm-rg350-d18c83e8b8b96c3849b7bdd34b17a6bb91da4e78.zip
MUTATIONOFJB: Fix play animation command.
Diffstat (limited to 'engines/mutationofjb/commands/playanimationcommand.h')
-rw-r--r--engines/mutationofjb/commands/playanimationcommand.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/mutationofjb/commands/playanimationcommand.h b/engines/mutationofjb/commands/playanimationcommand.h
index da7ff25324..4f0d4d7e69 100644
--- a/engines/mutationofjb/commands/playanimationcommand.h
+++ b/engines/mutationofjb/commands/playanimationcommand.h
@@ -37,14 +37,14 @@ public:
class PlayAnimationCommand : public SeqCommand {
public:
- PlayAnimationCommand(uint8 fromFrame, uint8 toFrame) : _fromFrame(fromFrame), _toFrame(toFrame) {}
+ PlayAnimationCommand(int fromFrame, int toFrame) : _fromFrame(fromFrame), _toFrame(toFrame) {}
const Common::String &getName() const;
virtual ExecuteResult execute(ScriptExecutionContext &scriptExecCtx) override;
virtual Common::String debugString() const override;
private:
- uint8 _fromFrame;
- uint8 _toFrame;
+ int _fromFrame;
+ int _toFrame;
};
}