aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_shoot.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-04-14 16:09:15 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-04-14 16:09:15 +0200
commit3d3af4f7d3487af8164c97134e06ca84b1ffd226 (patch)
treedab53082e9b84fbb87db718810d8ec14570e8029 /src/ft_shoot.c
parentBack to GCC for correction (diff)
download42-cub3d-3d3af4f7d3487af8164c97134e06ca84b1ffd226.tar.gz
42-cub3d-3d3af4f7d3487af8164c97134e06ca84b1ffd226.tar.bz2
42-cub3d-3d3af4f7d3487af8164c97134e06ca84b1ffd226.tar.xz
42-cub3d-3d3af4f7d3487af8164c97134e06ca84b1ffd226.tar.zst
42-cub3d-3d3af4f7d3487af8164c97134e06ca84b1ffd226.zip
Bad boys do not eat walls anymore
Diffstat (limited to 'src/ft_shoot.c')
-rw-r--r--src/ft_shoot.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/ft_shoot.c b/src/ft_shoot.c
index dbd8862..7e0c90a 100644
--- a/src/ft_shoot.c
+++ b/src/ft_shoot.c
@@ -97,10 +97,8 @@ static void
void
ft_shoot(t_cub *cl)
{
- t_win *wl;
t_player *pl;
- wl = &cl->wlist;
pl = &cl->plist;
cl->rlist.y_ray_pos = pl->pos_y;
cl->rlist.x_ray_pos = pl->pos_x;