From 72544554bae9acee9f6e670e2f7c03c229dfc40b Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Thu, 19 Mar 2020 19:16:33 +0100 Subject: Now making second weapon --- inc/cub3d.h | 1 - src/ft_get_fps_count.c | 2 +- 2 files changed, 1 insertion(+), 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 #include #include -#include /* ** ====== 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; -- cgit v1.2.3