aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_time.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ft_time.c')
-rw-r--r--src/ft_time.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ft_time.c b/src/ft_time.c
index ea0d221..a2ab4a0 100644
--- a/src/ft_time.c
+++ b/src/ft_time.c
@@ -45,7 +45,7 @@ void
curr = clock();
dt[i] += curr - before;
- if (cl->bad_boy[i].sleep == 1 && dt[i] > 0 && ft_clock_to_ms(dt[i]) > 1500)
+ if (cl->bad_boy[i].sleep == 1 && dt[i] > 0 && ft_clock_to_ms(dt[i]) > 700.0)
{
cl->bad_boy[i].sleep = 0;
dt[i] = 0;
@@ -65,5 +65,4 @@ void
ft_bad_boys_time(before, i, cl);
i++;
}
- ft_get_fps_count(before, cl);
}