From c2fabd5bee8cc8a386d2012e6b08471955fbcaa8 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Wed, 1 Apr 2020 19:37:00 +0200 Subject: Later --- src/ft_extra_keys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ft_extra_keys.c') diff --git a/src/ft_extra_keys.c b/src/ft_extra_keys.c index 1a71402..03c6f75 100644 --- a/src/ft_extra_keys.c +++ b/src/ft_extra_keys.c @@ -83,7 +83,7 @@ int clist->plist.ammo[w_id] -= w_id; clist->sfx[clist->plist.handles_weapon + 7].sfx_play(clist->sfx); clist->plist.fire = 1; - ft_shoot(clist, clist->wlist.x_size / 2); + ft_shoot(clist); return (0); } else if (clist->plist.fire == 0 && clist->plist.ammo[w_id] <= 0) -- cgit v1.2.3