aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_get_fps_count.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-20 16:51:31 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-20 16:51:31 +0100
commitd99126692d9eefd345b4756017f4b7fb9cd75ba7 (patch)
tree61f72fda5b99804dea1ef0ca0f7ddc6e4ec6200b /src/ft_get_fps_count.c
parentAdded number images (diff)
download42-cub3d-d99126692d9eefd345b4756017f4b7fb9cd75ba7.tar.gz
42-cub3d-d99126692d9eefd345b4756017f4b7fb9cd75ba7.tar.bz2
42-cub3d-d99126692d9eefd345b4756017f4b7fb9cd75ba7.tar.xz
42-cub3d-d99126692d9eefd345b4756017f4b7fb9cd75ba7.tar.zst
42-cub3d-d99126692d9eefd345b4756017f4b7fb9cd75ba7.zip
in progress
Diffstat (limited to 'src/ft_get_fps_count.c')
-rw-r--r--src/ft_get_fps_count.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_get_fps_count.c b/src/ft_get_fps_count.c
index 7ed1163..63bf08e 100644
--- a/src/ft_get_fps_count.c
+++ b/src/ft_get_fps_count.c
@@ -29,7 +29,7 @@ static void
static clock_t curr_time = 0;
curr_time += dt;
- if (dt > 0 && ft_clock_to_ms(curr_time) > 400.0)
+ if (dt > 0 && ft_clock_to_ms(curr_time) > 300.0)
{
cl->plist.fire = 0;
curr_time -= CLOCKS_PER_SEC;