aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_extra_keys.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ft_extra_keys.c')
-rw-r--r--src/ft_extra_keys.c2
1 files changed, 1 insertions, 1 deletions
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)