diff options
Diffstat (limited to '')
-rw-r--r-- | inc/cub3d.h | 1 | ||||
-rw-r--r-- | src/ft_get_fps_count.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/inc/cub3d.h b/inc/cub3d.h index 8a7cfcb..c91f97f 100644 --- a/inc/cub3d.h +++ b/inc/cub3d.h @@ -17,7 +17,6 @@ #include <cub3d_structs.h> #include <stddef.h> #include <stdint.h> -#include <time.h> /* ** ====== STRUCTS ====== diff --git a/src/ft_get_fps_count.c b/src/ft_get_fps_count.c index 74afb45..7ed1163 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) > 200.0) + if (dt > 0 && ft_clock_to_ms(curr_time) > 400.0) { cl->plist.fire = 0; curr_time -= CLOCKS_PER_SEC; |