mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2025-02-01 11:06:44 +01:00
fix a clang warning
This commit is contained in:
parent
a68e15e274
commit
80f59721f2
1 changed files with 2 additions and 1 deletions
|
@ -364,7 +364,8 @@ SYMBOL_EXPORT void UpdateTween(struct Tween* tween, double delta) {
|
|||
tween->predelay -= delta;
|
||||
if (tween->predelay > 0) {
|
||||
return;
|
||||
} else if (tween->predelay < 0) {
|
||||
}
|
||||
if (tween->predelay < 0) {
|
||||
delta = -tween->predelay;
|
||||
tween->predelay = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue