aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_get_player_spawn.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ft_get_player_spawn.c')
-rw-r--r--src/ft_get_player_spawn.c4
1 files changed, 2 insertions, 2 deletions
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 ;
}