correct fire bullet speed
This commit is contained in:
parent
e6ed094095
commit
4ed9222790
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue