1
0
mirror of https://github.com/XProger/OpenLara.git synced 2025-08-14 17:14:29 +02:00

fix missed playNext call

This commit is contained in:
XProger
2018-04-20 02:27:05 +03:00
parent 9c6a8c1a3b
commit bfa990e73f

View File

@@ -1048,7 +1048,7 @@ struct Controller {
if (animation.isEnded) { // if animation is end - switch to next
if (animation.offset != 0.0f) cmdOffset(animation.offset);
if (animation.jump != 0.0f) cmdJump(animation.jump);
// animation.playNext();
animation.playNext();
} else
animation.framePrev = animation.frameIndex;
}