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.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;