Permalink
Browse files

MUTATIONOFJB: When redrawing room, draw object animations at their cu…

…rrent frame instead of their first frame.
  • Loading branch information...
MiroslavR authored and LubomirR committed Jul 21, 2018
1 parent e1253ef commit 076b439567b67b50c892dbf5c8a401c52c6333df
Showing with 1 addition and 1 deletion.
  1. +1 −1 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);
}
}
}

0 comments on commit 076b439

Please sign in to comment.