aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 ad5cfc8..dbd8862 100644
--- a/src/ft_shoot.c
+++ b/src/ft_shoot.c
@@ -105,7 +105,7 @@ void
cl->rlist.y_ray_pos = pl->pos_y;
cl->rlist.x_ray_pos = pl->pos_x;
cl->rlist.y_ray_dir = -pl->dir_y;
- cl->rlist.x_ray_dir = -pl->dir_x;
+ cl->rlist.x_ray_dir = pl->dir_x;
cl->rlist.sqy = (uint64_t)cl->rlist.y_ray_pos;
cl->rlist.sqx = (uint64_t)cl->rlist.x_ray_pos;
ft_detection_init_x(cl);