mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 17:22:12 +00:00
Fixed the fireball Sal sleepily helped me with.
This commit is contained in:
parent
0bb5419785
commit
3f7ffc61a5
1 changed files with 1 additions and 2 deletions
|
@ -3513,8 +3513,7 @@ static void P_DoFiring(player_t *player, ticcmd_t *cmd)
|
|||
{
|
||||
player->pflags |= PF_ATTACKDOWN;
|
||||
mo = P_SpawnPlayerMissile(player->mo, MT_FIREBALL, 0);
|
||||
if (mo && ((mo->info->speed>>FRACBITS) * mo->scale) < player->speed)
|
||||
P_InstaThrust(mo, player->mo->angle, player->speed);
|
||||
P_InstaThrust(mo, player->mo->angle, ((mo->info->speed>>FRACBITS)*player->mo->scale) + player->speed);
|
||||
S_StartSound(player->mo, sfx_mario7);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue