mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 06:44:27 +00:00
menu_animation: don't update deleted tweens
This commit is contained in:
parent
7935cc80ee
commit
863fd55951
@ -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…
x
Reference in New Issue
Block a user