From 3ebd8ba2bd2302327932d877ef8b797793a67542 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Mon, 23 Mar 2020 00:16:36 +0100 Subject: Cool --- src/ft_init_lists.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/ft_init_lists.c') 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); -- cgit v1.2.3