diff options
Diffstat (limited to 'src/ft_shoot.c')
-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 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); |