mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-18 07:22:28 +00:00
Further tightening.
This commit is contained in:
parent
bda630ce41
commit
6abd4d20d3
1 changed files with 2 additions and 2 deletions
|
@ -7078,7 +7078,7 @@ static void P_MovePlayer(player_t *player)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((cmd->buttons & BT_JUMP) && (player->pflags & PF_THOKKED)) // Super Sonic move
|
if ((cmd->buttons & BT_JUMP) && (player->pflags & PF_THOKKED) && !player->homing) // Super Sonic move
|
||||||
{
|
{
|
||||||
if (player->skin == 0 && player->powers[pw_super] && player->speed > FixedMul(5<<FRACBITS, player->mo->scale)
|
if (player->skin == 0 && player->powers[pw_super] && player->speed > FixedMul(5<<FRACBITS, player->mo->scale)
|
||||||
&& P_MobjFlip(player->mo)*player->mo->momz <= 0)
|
&& P_MobjFlip(player->mo)*player->mo->momz <= 0)
|
||||||
|
@ -7088,7 +7088,7 @@ static void P_MovePlayer(player_t *player)
|
||||||
P_SetPlayerMobjState(player->mo, S_PLAY_SUPER_FLOAT);
|
P_SetPlayerMobjState(player->mo, S_PLAY_SUPER_FLOAT);
|
||||||
|
|
||||||
player->mo->momz = 0;
|
player->mo->momz = 0;
|
||||||
player->pflags &= ~PF_SPINNING;
|
player->pflags &= ~(PF_SPINNING|PF_SHIELDABILITY);
|
||||||
player->jumping = 0; // don't cut jump height after bouncing off something
|
player->jumping = 0; // don't cut jump height after bouncing off something
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue