From 4ed92227907f6ad9f3963080a3d1fae05edb408d Mon Sep 17 00:00:00 2001 From: Milang Date: Fri, 7 Feb 2020 10:39:21 +0100 Subject: [PATCH] correct fire bullet speed --- src/bullet.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bullet.c b/src/bullet.c index 893a124..1109186 100644 --- a/src/bullet.c +++ b/src/bullet.c @@ -25,9 +25,9 @@ void bullet_throw() bullets[i].b.x=mario.p.x; bullets[i].b.y=mario.p.y+8; if (last_vx_sign==0) - bullets[i].b.vx=-6; + bullets[i].b.vx=-9; //speed = 9 else - bullets[i].b.vx=6; + bullets[i].b.vx=9; bullets[i].b.vy=0; bullets[i].p1=last_vx_sign; return;