Simplify update_tweens
This commit is contained in:
parent
fb116af9cc
commit
999ffb3427
|
@ -93,7 +93,7 @@ void update_tweens(float dt)
|
|||
for(i = 0; i < numtweens; i++)
|
||||
update_tween(&tweens[i], dt, &active_tweens);
|
||||
|
||||
if (numtweens && !active_tweens)
|
||||
if (!active_tweens)
|
||||
numtweens = 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue