aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_init_lists.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ft_init_lists.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ft_init_lists.c b/src/ft_init_lists.c
index d9a2ad2..b551aab 100644
--- a/src/ft_init_lists.c
+++ b/src/ft_init_lists.c
@@ -33,7 +33,7 @@ t_rgb
** -1: no weapon
** 0: weapon one
** 2: weapon two
-** 4: weapon two
+** 4: weapon three
*/
t_player
@@ -55,6 +55,9 @@ t_player
plist.has_weapon[1] = 0;
plist.has_weapon[2] = 0;
plist.handles_weapon = -1;
+ plist.ammo[0] = 0;
+ plist.ammo[1] = 0;
+ plist.ammo[2] = 0;
plist.life = FT_STRT_LIFE;
plist.fire = 0;
return (plist);