mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
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);
|
||||
|
||||
if (!tween)
|
||||
if (!tween || tween->deleted)
|
||||
continue;
|
||||
|
||||
tween->running_since += delta_time;
|
||||
|
Loading…
x
Reference in New Issue
Block a user