aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_warp_level.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ft_warp_level.c')
-rw-r--r--src/ft_warp_level.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ft_warp_level.c b/src/ft_warp_level.c
index 107e709..af05b29 100644
--- a/src/ft_warp_level.c
+++ b/src/ft_warp_level.c
@@ -44,7 +44,7 @@ static void
static void
ft_player_keepings(t_cub *cl)
{
- int8_t tmp_life;
+ int16_t tmp_life;
uint8_t tmp_has[2];
int8_t tmp_handles;
@@ -135,6 +135,7 @@ int8_t
char *tmp_mup;
uint8_t isoldmus;
+ ft_printf("%hd\n", cl->plist.life);
if (!(next_path = (char *)malloc((ft_strlen(path) + 1) * sizeof(char))))
return (-1);
ft_sprintf(next_path, "%s", path);
@@ -154,5 +155,6 @@ int8_t
ft_wall_tex_init(cl);
ft_weap_tex_init(cl);
ft_memdel((void*)&next_path);
+ ft_printf("%hd\n", cl->plist.life);
return (0);
}