From 14b08c7f6a5fc0efa61af63ef651fd444b00b697 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Mon, 30 Mar 2020 21:16:48 +0200 Subject: Nigga be shootin' quick af --- src/ft_time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ft_time.c') diff --git a/src/ft_time.c b/src/ft_time.c index 0157fd8..ea0d221 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.0) + if (cl->bad_boy[i].sleep == 1 && dt[i] > 0 && ft_clock_to_ms(dt[i]) > 1500) { cl->bad_boy[i].sleep = 0; dt[i] = 0; -- cgit v1.2.3