From 137397e014be24d48ccc60e36af21ffc25229b77 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Tue, 31 Mar 2020 14:29:18 +0200 Subject: Fixed that gangsta --- src/ft_time.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/ft_time.c') 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); } -- cgit v1.2.3