mirror of
https://github.com/XProger/OpenLara.git
synced 2025-08-15 01:24:35 +02:00
fix missed playNext call
This commit is contained in:
@@ -1048,7 +1048,7 @@ struct Controller {
|
|||||||
if (animation.isEnded) { // if animation is end - switch to next
|
if (animation.isEnded) { // if animation is end - switch to next
|
||||||
if (animation.offset != 0.0f) cmdOffset(animation.offset);
|
if (animation.offset != 0.0f) cmdOffset(animation.offset);
|
||||||
if (animation.jump != 0.0f) cmdJump(animation.jump);
|
if (animation.jump != 0.0f) cmdJump(animation.jump);
|
||||||
// animation.playNext();
|
animation.playNext();
|
||||||
} else
|
} else
|
||||||
animation.framePrev = animation.frameIndex;
|
animation.framePrev = animation.frameIndex;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user