aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_shoot.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-23 18:50:25 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-23 18:50:25 +0100
commit1e1e665095129703bb0901c7490e5e2308b9d92a (patch)
treed64650d34095cb99eaf1dd11b9a27ad4ac222d08 /src/ft_shoot.c
parentMerge branch 'hitscan' (diff)
download42-cub3d-1e1e665095129703bb0901c7490e5e2308b9d92a.tar.gz
42-cub3d-1e1e665095129703bb0901c7490e5e2308b9d92a.tar.bz2
42-cub3d-1e1e665095129703bb0901c7490e5e2308b9d92a.tar.xz
42-cub3d-1e1e665095129703bb0901c7490e5e2308b9d92a.tar.zst
42-cub3d-1e1e665095129703bb0901c7490e5e2308b9d92a.zip
Better
Diffstat (limited to '')
-rw-r--r--src/ft_shoot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_shoot.c b/src/ft_shoot.c
index 084d8d2..33e69f7 100644
--- a/src/ft_shoot.c
+++ b/src/ft_shoot.c
@@ -31,7 +31,7 @@ static void
cl->rlist.sqy += cl->mlist.y_step;
cl->rlist.side = 1;
}
- if (ft_ischarset("23456",
+ if (ft_ischarset(FT_CHRST_SPRITES,
cl->mlist.map[cl->rlist.sqx][cl->rlist.sqy]))
{
hit = 1;