diff options
Diffstat (limited to 'src/ft_time.c')
-rw-r--r-- | src/ft_time.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |