aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_time.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-31 21:49:18 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-31 21:49:18 +0200
commit2f7026b4a1721016dbba55e6ec4d5e3b0723952d (patch)
tree3e73ddbac98d34044e2edd75d2e6309090dfee57 /src/ft_time.c
parentAlright alright (diff)
download42-cub3d-2f7026b4a1721016dbba55e6ec4d5e3b0723952d.tar.gz
42-cub3d-2f7026b4a1721016dbba55e6ec4d5e3b0723952d.tar.bz2
42-cub3d-2f7026b4a1721016dbba55e6ec4d5e3b0723952d.tar.xz
42-cub3d-2f7026b4a1721016dbba55e6ec4d5e3b0723952d.tar.zst
42-cub3d-2f7026b4a1721016dbba55e6ec4d5e3b0723952d.zip
GOTY
Diffstat (limited to '')
-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 a2ab4a0..88822f5 100644
--- a/src/ft_time.c
+++ b/src/ft_time.c
@@ -30,7 +30,7 @@ void
curr = clock();
dt += curr - before;
- if (dt > 0 && ft_clock_to_ms(dt) > 700.0)
+ if (dt > 0 && ft_clock_to_ms(dt) > 1000.0)
{
cl->plist.fire = 0;
dt = 0;