MUTATIONOFJB: Fix play animation command.

This commit is contained in:
Ľubomír Remák 2019-02-03 23:35:43 +01:00
parent 66400e7422
commit d18c83e8b8
6 changed files with 11 additions and 9 deletions

View file

@ -40,7 +40,7 @@ bool SetObjectFrameCommandParser::parse(const Common::String &line, ScriptParseC
return false;
const uint8 objectId = (uint8) atoi(line.c_str() + 8);
const uint8 frame = (uint8) atoi(line.c_str() + 11);
const unsigned int frame = atoi(line.c_str() + 11);
command = new SetObjectFrameCommand(objectId, frame);
return true;