aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_key_events.c
diff options
context:
space:
mode:
authorRudy Bousset <rbousset@z2r4p3.le-101.fr>2020-02-17 17:22:23 +0100
committerRudy Bousset <rbousset@z2r4p3.le-101.fr>2020-02-17 17:22:23 +0100
commitacf86085c765a87f320481f019ed8b08510a8b20 (patch)
tree9e789ab880de603aac987740ed480b9f284512f2 /src/ft_key_events.c
parentCollision bav (diff)
download42-cub3d-acf86085c765a87f320481f019ed8b08510a8b20.tar.gz
42-cub3d-acf86085c765a87f320481f019ed8b08510a8b20.tar.bz2
42-cub3d-acf86085c765a87f320481f019ed8b08510a8b20.tar.xz
42-cub3d-acf86085c765a87f320481f019ed8b08510a8b20.tar.zst
42-cub3d-acf86085c765a87f320481f019ed8b08510a8b20.zip
norminette
Diffstat (limited to '')
-rw-r--r--src/ft_key_events.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/ft_key_events.c b/src/ft_key_events.c
index ba7a537..267bccf 100644
--- a/src/ft_key_events.c
+++ b/src/ft_key_events.c
@@ -47,10 +47,6 @@ static void
pl->pos_y = old_y;
pl->pos_x = old_x;
}
- /* (pl->pos_y < 1) ? (pl->pos_y = 1.1) : 0; */
- /* (pl->pos_x < 1) ? (pl->pos_x = 1.1) : 0; */
- /* (pl->pos_y > ml->map_h - 1.4) ? (pl->pos_y = ml->map_h - 1.4) : 0; */
- /* (pl->pos_x > ml->map_w - 1.4) ? (pl->pos_x = ml->map_w - 1.4) : 0; */
}
int