mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-01-24 17:26:41 +00:00
fix possible crash when playing transition animation
This commit is contained in:
parent
3e16ddb89e
commit
dd403d7d55
1 changed files with 1 additions and 1 deletions
|
@ -533,7 +533,7 @@ float AnimationLayer::transitionAnimate(std::string anim, float time, int loop)
|
||||||
{
|
{
|
||||||
createTransitionAnimation(*a, time);
|
createTransitionAnimation(*a, time);
|
||||||
timeMultiplier = 1;
|
timeMultiplier = 1;
|
||||||
|
lastKeyframeIndex = INITIAL_KEYFRAME_IDX;
|
||||||
currentAnimation = -1;
|
currentAnimation = -1;
|
||||||
this->loop = 0;
|
this->loop = 0;
|
||||||
timer = 0;
|
timer = 0;
|
||||||
|
|
Loading…
Reference in a new issue