aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_get_player_spawn.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ft_get_player_spawn.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ft_get_player_spawn.c b/src/ft_get_player_spawn.c
index 617ec22..fabcba8 100644
--- a/src/ft_get_player_spawn.c
+++ b/src/ft_get_player_spawn.c
@@ -71,17 +71,17 @@ void
x = 1;
y = 1;
- while (clist->mlist->map[y])
+ while (clist->mlist.map[y])
{
- while (clist->mlist->map[y][x])
+ while (clist->mlist.map[y][x])
{
- if (ft_ischarset("NSEW", clist->mlist->map[y][x]))
+ if (ft_ischarset("NSEW", clist->mlist.map[y][x]))
{
plist->pos_x = x + 0.5;
plist->pos_y = y + 0.5;
plist->start_x = plist->pos_x;
plist->start_y = plist->pos_y;
- ft_get_start_side(clist->mlist->map[y][x], clist->plist);
+ ft_get_start_side(clist->mlist.map[y][x], plist);
return ;
}
x++;