aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_time.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-30 19:45:31 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-30 19:45:31 +0200
commit5b287c89362171175592c5eab247fb8a7b7d28ff (patch)
tree7319f00b79ee85a9e551b5ce5a89280e549fb5ca /src/ft_time.c
parentPretty coolio (diff)
download42-cub3d-5b287c89362171175592c5eab247fb8a7b7d28ff.tar.gz
42-cub3d-5b287c89362171175592c5eab247fb8a7b7d28ff.tar.bz2
42-cub3d-5b287c89362171175592c5eab247fb8a7b7d28ff.tar.xz
42-cub3d-5b287c89362171175592c5eab247fb8a7b7d28ff.tar.zst
42-cub3d-5b287c89362171175592c5eab247fb8a7b7d28ff.zip
Fine
Diffstat (limited to 'src/ft_time.c')
-rw-r--r--src/ft_time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_time.c b/src/ft_time.c
index 4d33dc8..0157fd8 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]) > 700.0)
+ if (cl->bad_boy[i].sleep == 1 && dt[i] > 0 && ft_clock_to_ms(dt[i]) > 1500.0)
{
cl->bad_boy[i].sleep = 0;
dt[i] = 0;