diff options
Diffstat (limited to '')
-rw-r--r-- | src/ft_get_player_spawn.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ft_get_player_spawn.c b/src/ft_get_player_spawn.c index 2f8fa0e..0d9018a 100644 --- a/src/ft_get_player_spawn.c +++ b/src/ft_get_player_spawn.c @@ -85,7 +85,8 @@ void ft_get_sprite_spawn(clist); ft_get_trap_spawn(clist); ft_get_heal_spawn(clist); - ft_get_weapon_spawn(clist); + if (clist->isdead == 0) + ft_get_weapon_spawn(clist); return ; } x++; |