From db0e4bcfe0bcf99d5d21e74e0a1ccc0fc6977a26 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Mon, 6 Apr 2020 14:29:47 +0200 Subject: Weapons have different velocities --- src/ft_init_lists.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/ft_init_lists.c') diff --git a/src/ft_init_lists.c b/src/ft_init_lists.c index 6ad56d1..76ac0ae 100644 --- a/src/ft_init_lists.c +++ b/src/ft_init_lists.c @@ -60,6 +60,9 @@ t_player plist.ammo[2] = 0; plist.life = FT_STRT_LIFE; plist.fire = 0; + plist.weap_vel[0] = FT_WEAP_ONE_VEL; + plist.weap_vel[1] = FT_WEAP_TWO_VEL; + plist.weap_vel[2] = FT_WEAP_THREE_VEL; return (plist); } -- cgit v1.2.3