Commit: 064c737276df2afe9dd2c93068275e1e3238d45a Parent: c06f0185fdc03158efa5d9f0e3f1d08e8039c5eb Author: Randy Palamar Date: Wed, 25 Dec 2024 10:02:18 -0700 make dt <= 0 force block reloads Diffstat:
M | status.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/status.c b/status.c @@ -131,7 +131,7 @@ get_time(void) static b32 timer_update(f32 *timer, f32 interval, f32 dt) { - b32 result = 0; + b32 result = dt <= 0; *timer -= dt; while (*timer < 0) { *timer += interval; result = 1; } return result;