From f3ef7f448c8551df9c723d22d33a6fac0b966c22 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Mon, 30 Mar 2020 16:20:10 +0200 Subject: Fixed conditionnal jump btw --- inc/cub3d_structs.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'inc/cub3d_structs.h') diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h index a5c2bcc..3134786 100644 --- a/inc/cub3d_structs.h +++ b/inc/cub3d_structs.h @@ -227,6 +227,7 @@ typedef struct s_map typedef struct s_bad_boy { int8_t life; + int8_t does; void (*act[5])(struct s_sprite*, struct s_map*); } t_bad_boy; @@ -271,7 +272,7 @@ typedef struct s_cub struct s_img death_screen; struct s_rgb f_rgb; struct s_rgb c_rgb; - struct s_img tlist[23]; + struct s_img tlist[27]; struct s_img tweap[6]; struct s_img tnum[12]; struct s_sprite **sprites; -- cgit v1.2.3