diff options
author | Rudy Bousset <rbousset@z2r5p6.le-101.fr> | 2020-02-02 19:21:05 +0100 |
---|---|---|
committer | Rudy Bousset <rbousset@z2r5p6.le-101.fr> | 2020-02-02 19:21:05 +0100 |
commit | 93809613f9dcec51d02871de0f3b2e1025e34474 (patch) | |
tree | dd1a155fc23f1434ec0a0bb86a6b3789a59e8971 /src/ft_get_player_spawn.c | |
parent | Parsed player spawn (diff) | |
download | 42-cub3d-93809613f9dcec51d02871de0f3b2e1025e34474.tar.gz 42-cub3d-93809613f9dcec51d02871de0f3b2e1025e34474.tar.bz2 42-cub3d-93809613f9dcec51d02871de0f3b2e1025e34474.tar.xz 42-cub3d-93809613f9dcec51d02871de0f3b2e1025e34474.tar.zst 42-cub3d-93809613f9dcec51d02871de0f3b2e1025e34474.zip |
Ain't bad
Diffstat (limited to 'src/ft_get_player_spawn.c')
-rw-r--r-- | src/ft_get_player_spawn.c | 4 |
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 ; } |