diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-19 20:25:54 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-19 20:25:54 +0100 |
commit | 5798c414690561950b53a3c9f9478891e75ec91f (patch) | |
tree | c068cea671eb4c80fefbebcee35460481afe8e5f /src/ft_init_lists.c | |
parent | Now making second weapon (diff) | |
download | 42-cub3d-5798c414690561950b53a3c9f9478891e75ec91f.tar.gz 42-cub3d-5798c414690561950b53a3c9f9478891e75ec91f.tar.bz2 42-cub3d-5798c414690561950b53a3c9f9478891e75ec91f.tar.xz 42-cub3d-5798c414690561950b53a3c9f9478891e75ec91f.tar.zst 42-cub3d-5798c414690561950b53a3c9f9478891e75ec91f.zip |
New images, that'll do the trick
Diffstat (limited to 'src/ft_init_lists.c')
-rw-r--r-- | src/ft_init_lists.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ft_init_lists.c b/src/ft_init_lists.c index 4eccf01..b876e8d 100644 --- a/src/ft_init_lists.c +++ b/src/ft_init_lists.c @@ -50,10 +50,10 @@ t_player plist.dir_y = 0; plist.plane_x = 0; plist.plane_y = 0.66; - plist.life = 100; plist.has_weapon[0] = 0; plist.has_weapon[1] = 0; plist.handles_weapon = -1; + plist.life = 100; plist.fire = 0; return (plist); } @@ -109,5 +109,6 @@ int8_t if (ft_init_win(&clist->wlist) < 0) return (-1); ft_sprintf(clist->fps_count, "fps: 60"); + clist->isdead = 0; return (0); } |