From 93809613f9dcec51d02871de0f3b2e1025e34474 Mon Sep 17 00:00:00 2001 From: Rudy Bousset Date: Sun, 2 Feb 2020 19:21:05 +0100 Subject: Ain't bad --- src/ft_get_player_spawn.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ft_get_player_spawn.c') diff --git a/src/ft_get_player_spawn.c b/src/ft_get_player_spawn.c index cb6dfcf..7b37d23 100644 --- a/src/ft_get_player_spawn.c +++ b/src/ft_get_player_spawn.c @@ -43,8 +43,8 @@ void { if (ft_ischarset("NSEW", clist->map[y][x])) { - plist->pos_x = x + 1; - plist->pos_y = y + 1; + plist->pos_x = x; + plist->pos_y = y; plist->view_side = ft_get_view_side(clist->map[y][x]); return ; } -- cgit v1.2.3