Merge pull request #9228 from natinusala/master
menu_animation: don't update deleted tweens
This commit is contained in:
commit
3b1ec7d30e
|
@ -667,7 +667,7 @@ bool menu_animation_update(void)
|
||||||
{
|
{
|
||||||
struct tween *tween = da_getptr(anim.list, i);
|
struct tween *tween = da_getptr(anim.list, i);
|
||||||
|
|
||||||
if (!tween)
|
if (!tween || tween->deleted)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
tween->running_since += delta_time;
|
tween->running_since += delta_time;
|
||||||
|
|
Loading…
Reference in New Issue