diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-30 16:20:10 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-30 16:20:10 +0200 |
commit | f3ef7f448c8551df9c723d22d33a6fac0b966c22 (patch) | |
tree | 982d3e931f77d30a2cc7c2d28ea6129c5f7467ca /inc/cub3d_structs.h | |
parent | Less fat sprites (diff) | |
download | 42-cub3d-f3ef7f448c8551df9c723d22d33a6fac0b966c22.tar.gz 42-cub3d-f3ef7f448c8551df9c723d22d33a6fac0b966c22.tar.bz2 42-cub3d-f3ef7f448c8551df9c723d22d33a6fac0b966c22.tar.xz 42-cub3d-f3ef7f448c8551df9c723d22d33a6fac0b966c22.tar.zst 42-cub3d-f3ef7f448c8551df9c723d22d33a6fac0b966c22.zip |
Fixed conditionnal jump btw
Diffstat (limited to '')
-rw-r--r-- | inc/cub3d_structs.h | 3 |
1 files changed, 2 insertions, 1 deletions
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; |