aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_can_it_shoot.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-04-14 19:25:00 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-04-14 19:25:00 +0200
commit9e7508d8baeee1695cb99a98a2ed0c020f7a41e1 (patch)
tree61d3349646156203c9f79504e58253940850ecb3 /src/ft_can_it_shoot.c
parentRenorm (diff)
download42-cub3d-9e7508d8baeee1695cb99a98a2ed0c020f7a41e1.tar.gz
42-cub3d-9e7508d8baeee1695cb99a98a2ed0c020f7a41e1.tar.bz2
42-cub3d-9e7508d8baeee1695cb99a98a2ed0c020f7a41e1.tar.xz
42-cub3d-9e7508d8baeee1695cb99a98a2ed0c020f7a41e1.tar.zst
42-cub3d-9e7508d8baeee1695cb99a98a2ed0c020f7a41e1.zip
Some more norms
Diffstat (limited to 'src/ft_can_it_shoot.c')
-rw-r--r--src/ft_can_it_shoot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_can_it_shoot.c b/src/ft_can_it_shoot.c
index 0c76f3d..0029c39 100644
--- a/src/ft_can_it_shoot.c
+++ b/src/ft_can_it_shoot.c
@@ -103,7 +103,7 @@ static int8_t
sqx <= cl->sprites[13][id].s_pos_x + 0.15))
break ;
if (cl->mlist.map[(uint64_t)(sqy + 0.5)][(uint64_t)(sqx + 0.5)] == '1')
- hit = 1;
+ hit = 1;
}
return ((hit == 1) ? (0) : (1));
}