From 07ce2cc784a0d420fbc807244847b55389427f6c Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sat, 4 Apr 2020 17:31:04 +0200 Subject: Selectable enemy --- 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 3eabcad..8d22b86 100644 --- a/inc/cub3d_structs.h +++ b/inc/cub3d_structs.h @@ -203,6 +203,7 @@ typedef struct s_map size_t line_chk; size_t map_start; uint8_t isspawn; + uint8_t enemy; uint8_t isnlvl; uint8_t ismusic; uint8_t isftex; @@ -259,7 +260,7 @@ typedef struct s_cub uint16_t ammo_num_w; int (*key_ptr[6])(struct s_cub*); int8_t (*get_ptr[14])(char**, struct s_cub*); - char ref[22][3]; + char ref[23][3]; struct s_win wlist; struct s_player plist; struct s_map mlist; -- cgit v1.2.3