diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-23 18:50:25 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-23 18:50:25 +0100 |
commit | 1e1e665095129703bb0901c7490e5e2308b9d92a (patch) | |
tree | d64650d34095cb99eaf1dd11b9a27ad4ac222d08 /src/ft_shoot.c | |
parent | Merge branch 'hitscan' (diff) | |
download | 42-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.c | 2 |
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; |