correct fire bullet speed

This commit is contained in:
Milang 2020-02-07 10:39:21 +01:00
parent e6ed094095
commit 4ed9222790
1 changed files with 2 additions and 2 deletions

View File

@ -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;