From 623c6af72b22aca4bc43009b7039640595521b2e Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Wed, 1 Apr 2020 17:23:03 +0200 Subject: Still segv but solved invalid read --- inc/cub3d_defines.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'inc/cub3d_defines.h') diff --git a/inc/cub3d_defines.h b/inc/cub3d_defines.h index 01e8de1..9b92d12 100644 --- a/inc/cub3d_defines.h +++ b/inc/cub3d_defines.h @@ -187,8 +187,8 @@ enum # define FT_CHRST_MAP_NON_WALL "023456789NESWLT!@+#e" # define FT_CHRST_COLLISION "123456789e " # define FT_CHRST_DETECT "1L" -# define FT_CHRST_ITEM "!@+#" -# define FT_CHRST_WEAPONS "!@#" +# define FT_CHRST_ITEM "!@+#x" +# define FT_CHRST_WEAPONS "!@#x" /* ** ====== BMP ====== @@ -306,7 +306,7 @@ enum # define FT_BOUNCE_FACTOR 4 # define FT_WEAP_ONE_STRT_AMMO -4 # define FT_WEAP_TWO_STRT_AMMO 30 -# define FT_WEAP_THREE_STRT_AMMO 12 +# define FT_WEAP_THREE_STRT_AMMO 10 # define FT_WEAP_MAX_AMMO 1000 # define FT_ENMY_STRT_LIFE 10 # define FT_ENMY_SIGHT_RANGE 5.5 -- cgit v1.2.3