aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_get_player_spawn.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-07 22:34:38 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-07 22:34:38 +0100
commit684c8a8d416fafec52b5dcba81453789b53b8391 (patch)
tree653145d30484a075b93c666273296e7c90b3a825 /src/ft_get_player_spawn.c
parentGot secret door bonus (diff)
download42-cub3d-684c8a8d416fafec52b5dcba81453789b53b8391.tar.gz
42-cub3d-684c8a8d416fafec52b5dcba81453789b53b8391.tar.bz2
42-cub3d-684c8a8d416fafec52b5dcba81453789b53b8391.tar.xz
42-cub3d-684c8a8d416fafec52b5dcba81453789b53b8391.tar.zst
42-cub3d-684c8a8d416fafec52b5dcba81453789b53b8391.zip
defines are bav
Diffstat (limited to '')
-rw-r--r--src/ft_get_player_spawn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_get_player_spawn.c b/src/ft_get_player_spawn.c
index fabcba8..c506775 100644
--- a/src/ft_get_player_spawn.c
+++ b/src/ft_get_player_spawn.c
@@ -75,7 +75,7 @@ void
{
while (clist->mlist.map[y][x])
{
- if (ft_ischarset("NSEW", clist->mlist.map[y][x]))
+ if (ft_ischarset(FT_CHRST_SPAWN, clist->mlist.map[y][x]))
{
plist->pos_x = x + 0.5;
plist->pos_y = y + 0.5;