diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-31 21:49:18 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-31 21:49:18 +0200 |
commit | 2f7026b4a1721016dbba55e6ec4d5e3b0723952d (patch) | |
tree | 3e73ddbac98d34044e2edd75d2e6309090dfee57 /src/ft_shoot.c | |
parent | Alright alright (diff) | |
download | 42-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 'src/ft_shoot.c')
-rw-r--r-- | src/ft_shoot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_shoot.c b/src/ft_shoot.c index 5342509..7f12eb6 100644 --- a/src/ft_shoot.c +++ b/src/ft_shoot.c @@ -49,7 +49,7 @@ static int8_t { if (cl->plist.handles_weapon == 0 && sqrtf(powf(cl->plist.pos_x - cl->rlist.sqy, 2) - + powf(cl->plist.pos_y - cl->rlist.sqx, 2)) > 1.7) + + powf(cl->plist.pos_y - cl->rlist.sqx, 2)) > 1.3) return (0); return (1); } |