diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-23 00:16:36 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-23 00:16:36 +0100 |
commit | 3ebd8ba2bd2302327932d877ef8b797793a67542 (patch) | |
tree | 0a45b7f6bf98eab0895d71ac85b29413ab707be3 /src/ft_init_lists.c | |
parent | I think we good (diff) | |
download | 42-cub3d-3ebd8ba2bd2302327932d877ef8b797793a67542.tar.gz 42-cub3d-3ebd8ba2bd2302327932d877ef8b797793a67542.tar.bz2 42-cub3d-3ebd8ba2bd2302327932d877ef8b797793a67542.tar.xz 42-cub3d-3ebd8ba2bd2302327932d877ef8b797793a67542.tar.zst 42-cub3d-3ebd8ba2bd2302327932d877ef8b797793a67542.zip |
Cool
Diffstat (limited to 'src/ft_init_lists.c')
-rw-r--r-- | src/ft_init_lists.c | 5 |
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); |