aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_init_lists.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-22 19:05:12 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-22 19:05:12 +0100
commit7fbd59391bee9d23543ce933e91312e75276db8a (patch)
tree268db5130a3a62ce706cd8e222b6e47a61f2edb8 /src/ft_init_lists.c
parentnew colors for font (diff)
download42-cub3d-7fbd59391bee9d23543ce933e91312e75276db8a.tar.gz
42-cub3d-7fbd59391bee9d23543ce933e91312e75276db8a.tar.bz2
42-cub3d-7fbd59391bee9d23543ce933e91312e75276db8a.tar.xz
42-cub3d-7fbd59391bee9d23543ce933e91312e75276db8a.tar.zst
42-cub3d-7fbd59391bee9d23543ce933e91312e75276db8a.zip
Now regimp and sound
Diffstat (limited to '')
-rw-r--r--src/ft_init_lists.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ft_init_lists.c b/src/ft_init_lists.c
index e94e688..dbf944d 100644
--- a/src/ft_init_lists.c
+++ b/src/ft_init_lists.c
@@ -33,6 +33,7 @@ t_rgb
** -1: no weapon
** 0: weapon one
** 2: weapon two
+** 4: weapon two
*/
t_player
@@ -52,6 +53,7 @@ t_player
plist.plane_y = 0.66;
plist.has_weapon[0] = 0;
plist.has_weapon[1] = 0;
+ plist.has_weapon[2] = 0;
plist.handles_weapon = -1;
plist.life = FT_STRT_LIFE;
plist.fire = 0;