diff options
Diffstat (limited to '')
-rw-r--r-- | src/ft_select_bad_boy_action.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ft_select_bad_boy_action.c b/src/ft_select_bad_boy_action.c index f0ce7e7..8fb38c6 100644 --- a/src/ft_select_bad_boy_action.c +++ b/src/ft_select_bad_boy_action.c @@ -93,8 +93,8 @@ int8_t hit = 0; cl->rlist.x_ray_pos = cl->plist.pos_y; cl->rlist.y_ray_pos = cl->plist.pos_x; - cl->rlist.x_ray_dir = pl->dir_y; - cl->rlist.y_ray_dir = pl->dir_x; + cl->rlist.y_ray_dir = pl->dir_y; + cl->rlist.x_ray_dir = pl->dir_x; cl->rlist.sqy = (uint64_t)cl->rlist.x_ray_pos; cl->rlist.sqx = (uint64_t)cl->rlist.y_ray_pos; ft_detection_init_x(cl); |