aboutsummaryrefslogtreecommitdiff
path: root/engines/mutationofjb/commands/playanimationcommand.cpp
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.cpp
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.cpp')
-rw-r--r--engines/mutationofjb/commands/playanimationcommand.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/mutationofjb/commands/playanimationcommand.cpp b/engines/mutationofjb/commands/playanimationcommand.cpp
index 60c6f1c3cf..6f70a81aa1 100644
--- a/engines/mutationofjb/commands/playanimationcommand.cpp
+++ b/engines/mutationofjb/commands/playanimationcommand.cpp
@@ -40,8 +40,8 @@ bool PlayAnimationCommandParser::parse(const Common::String &line, ScriptParseCo
if (line.size() < 11 || (!line.hasPrefix("FLB ") && !line.hasPrefix("FLX ")))
return false;
- const uint8 fromFrame = (uint8) atoi(line.c_str() + 4);
- const uint8 toFrame = (uint8) atoi(line.c_str() + 8);
+ const int fromFrame = atoi(line.c_str() + 4);
+ const int toFrame = atoi(line.c_str() + 8);
command = new PlayAnimationCommand(fromFrame, toFrame);
return true;