From 1e1e665095129703bb0901c7490e5e2308b9d92a Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Mon, 23 Mar 2020 18:50:25 +0100 Subject: Better --- src/ft_shoot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ft_shoot.c') 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; -- cgit v1.2.3