aboutsummaryrefslogtreecommitdiffstats
path: root/inc
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-04-01 17:23:03 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-04-01 17:23:03 +0200
commit623c6af72b22aca4bc43009b7039640595521b2e (patch)
treeb3a9896b06552f385c9bc2f536588e31b609fdcb /inc
parentKilling skeltons gives ammo, but still segv (diff)
download42-cub3d-623c6af72b22aca4bc43009b7039640595521b2e.tar.gz
42-cub3d-623c6af72b22aca4bc43009b7039640595521b2e.tar.bz2
42-cub3d-623c6af72b22aca4bc43009b7039640595521b2e.tar.xz
42-cub3d-623c6af72b22aca4bc43009b7039640595521b2e.tar.zst
42-cub3d-623c6af72b22aca4bc43009b7039640595521b2e.zip
Still segv but solved invalid read
Diffstat (limited to 'inc')
-rw-r--r--inc/cub3d_defines.h6
1 files changed, 3 insertions, 3 deletions
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