diff options
Diffstat (limited to '')
-rw-r--r-- | src/ft_warp_level.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ft_warp_level.c b/src/ft_warp_level.c index 4618766..ca7801b 100644 --- a/src/ft_warp_level.c +++ b/src/ft_warp_level.c @@ -55,8 +55,6 @@ static void cl->plist = ft_init_player(); if (!cl->isdead) cl->plist.life = tmp_life; - else - cl->isdead = 0; cl->plist.has_weapon[0] = tmp_has[0]; cl->plist.has_weapon[1] = tmp_has[1]; cl->plist.handles_weapon = tmp_handles; @@ -146,6 +144,7 @@ int8_t return (-1); ft_parse_map(next_path, cl); ft_treat_music(isoldmus, tmp_mup, cl); + cl->isdead = (cl->isdead == 1) ? (0) : (cl->isdead); if (isoldmus) ft_memdel((void*)&tmp_mup); ft_wall_tex_init(cl); |