diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-20 14:53:08 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-20 14:53:08 +0100 |
commit | 721b95e073135ad042c50d12b7bafc888634bb28 (patch) | |
tree | 5c9c2e8e0e91091bcad134f3db6418b704124c88 /src/ft_get_player_spawn.c | |
parent | Better balance (diff) | |
download | 42-cub3d-721b95e073135ad042c50d12b7bafc888634bb28.tar.gz 42-cub3d-721b95e073135ad042c50d12b7bafc888634bb28.tar.bz2 42-cub3d-721b95e073135ad042c50d12b7bafc888634bb28.tar.xz 42-cub3d-721b95e073135ad042c50d12b7bafc888634bb28.tar.zst 42-cub3d-721b95e073135ad042c50d12b7bafc888634bb28.zip |
Multiple fixes
Diffstat (limited to 'src/ft_get_player_spawn.c')
-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++; |