diff options
author | Miroslav Remák | 2018-07-21 14:41:03 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2018-08-25 23:12:01 +0200 |
commit | 215b87ccca4c4888cd70c990271fe62177d054f0 (patch) | |
tree | 5c1b380d4f3583fdab0ef7f3d05a13edfb80a257 | |
parent | 96fbe2f8817303e25e0436641e23b0f7b4275658 (diff) | |
download | scummvm-rg350-215b87ccca4c4888cd70c990271fe62177d054f0.tar.gz scummvm-rg350-215b87ccca4c4888cd70c990271fe62177d054f0.tar.bz2 scummvm-rg350-215b87ccca4c4888cd70c990271fe62177d054f0.zip |
MUTATIONOFJB: When redrawing room, draw object animations at their current frame instead of their first frame.
-rw-r--r-- | engines/mutationofjb/room.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mutationofjb/room.cpp b/engines/mutationofjb/room.cpp index 414a3675ec..1da2730a48 100644 --- a/engines/mutationofjb/room.cpp +++ b/engines/mutationofjb/room.cpp @@ -143,7 +143,7 @@ void Room::redraw() { for (int i = 0; i < currentScene->getNoObjects(); ++i) { Object *const obj = currentScene->getObject(i + 1); if (obj->_active) { - drawObjectAnimation(i + 1, 0); + drawObjectAnimation(i + 1, obj->_currentFrame - _objectsStart[i] - 1); } } } |