aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-19 19:16:33 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-19 19:16:33 +0100
commit72544554bae9acee9f6e670e2f7c03c229dfc40b (patch)
tree2369f71446de5db0a0916244be9d97baea74e1e4 /src
parentDecent tier (diff)
download42-cub3d-72544554bae9acee9f6e670e2f7c03c229dfc40b.tar.gz
42-cub3d-72544554bae9acee9f6e670e2f7c03c229dfc40b.tar.bz2
42-cub3d-72544554bae9acee9f6e670e2f7c03c229dfc40b.tar.xz
42-cub3d-72544554bae9acee9f6e670e2f7c03c229dfc40b.tar.zst
42-cub3d-72544554bae9acee9f6e670e2f7c03c229dfc40b.zip
Now making second weapon
Diffstat (limited to '')
-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 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;