diff options
author | Matthew Stewart | 2018-07-18 23:53:21 -0400 |
---|---|---|
committer | Eugene Sandulenko | 2018-08-09 08:37:30 +0200 |
commit | ac9cd1f00a28b09dd0202c90a2fe023bc8cba525 (patch) | |
tree | bb3666dcdc40ab72f6e6917c8de1881d40b65ab2 /engines/startrek/room.cpp | |
parent | a024a3fd4501a0ab41ffdd62f65914f2307bdf22 (diff) | |
download | scummvm-rg350-ac9cd1f00a28b09dd0202c90a2fe023bc8cba525.tar.gz scummvm-rg350-ac9cd1f00a28b09dd0202c90a2fe023bc8cba525.tar.bz2 scummvm-rg350-ac9cd1f00a28b09dd0202c90a2fe023bc8cba525.zip |
STARTREK: Implement fixed-point decimal class
Diffstat (limited to 'engines/startrek/room.cpp')
-rw-r--r-- | engines/startrek/room.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/startrek/room.cpp b/engines/startrek/room.cpp index 4ec703f69d..a9f83118b6 100644 --- a/engines/startrek/room.cpp +++ b/engines/startrek/room.cpp @@ -210,7 +210,7 @@ void Room::loadActorAnim(int actorIndex, Common::String anim, int16 x, int16 y, if (actorIndex >= 0 && actorIndex < SCALED_ACTORS_END) _vm->loadActorAnimWithRoomScaling(actorIndex, anim, x, y); else - _vm->loadActorAnim(actorIndex, anim, x, y, 256); + _vm->loadActorAnim(actorIndex, anim, x, y, 1.0); if (finishedAnimActionParam != 0) { actor->triggerActionWhenAnimFinished = true; @@ -231,7 +231,7 @@ void Room::loadActorAnimC(int actorIndex, Common::String anim, int16 x, int16 y, if (actorIndex >= 0 && actorIndex < SCALED_ACTORS_END) _vm->loadActorAnimWithRoomScaling(actorIndex, anim, x, y); else - _vm->loadActorAnim(actorIndex, anim, x, y, 256); + _vm->loadActorAnim(actorIndex, anim, x, y, 1.0); if (funcPtr != nullptr) { actor->triggerActionWhenAnimFinished = true; |