aboutsummaryrefslogtreecommitdiffstats
path: root/inc
diff options
context:
space:
mode:
Diffstat (limited to 'inc')
-rw-r--r--inc/cub3d_defines.h4
-rw-r--r--inc/cub3d_structs.h1
2 files changed, 3 insertions, 2 deletions
diff --git a/inc/cub3d_defines.h b/inc/cub3d_defines.h
index 1e25302..cf0d627 100644
--- a/inc/cub3d_defines.h
+++ b/inc/cub3d_defines.h
@@ -110,8 +110,8 @@ enum
# define FT_WEAPON_TWO_SPR_PATH "./media/img/sprites/colt_s.xpm"
# define FT_WEAPON_ONE_PATH "./media/img/weapons/sword_w.xpm"
# define FT_WEAPON_ONE_FIRE_PATH "./media/img/weapons/sword_w_fire.xpm"
-# define FT_WEAPON_TWO_PATH "./media/img/weapons/sword_w.xpm"
-# define FT_WEAPON_TWO_FIRE_PATH "./media/img/weapons/sword_w_fire.xpm"
+# define FT_WEAPON_TWO_PATH "./media/img/weapons/colt_w.xpm"
+# define FT_WEAPON_TWO_FIRE_PATH "./media/img/weapons/colt_w_fire.xpm"
# define FT_HEAL_PACK_PATH "./media/img/sprites/first_aid.xpm"
/*
diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h
index c2e1d4a..1f20f8c 100644
--- a/inc/cub3d_structs.h
+++ b/inc/cub3d_structs.h
@@ -250,6 +250,7 @@ typedef struct s_cub
int32_t key_input[5];
char fps_count[9];
pthread_t mtid;
+ int8_t isdead;
int (*key_ptr[6])(struct s_cub*);
int8_t (*get_ptr[14])(char**, struct s_cub*);
char ref[22][3];