mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-25 05:41:42 +00:00
Fix Super Sonic exploiting CA_FLOAT abilities
This commit is contained in:
parent
a8e16638ee
commit
242e128aa0
1 changed files with 1 additions and 1 deletions
|
@ -5536,7 +5536,7 @@ static void P_DoJumpStuff(player_t *player, ticcmd_t *cmd)
|
||||||
|
|
||||||
if ((!(gametyperules & GTR_TEAMFLAGS) || !player->gotflag) && !player->exiting)
|
if ((!(gametyperules & GTR_TEAMFLAGS) || !player->gotflag) && !player->exiting)
|
||||||
{
|
{
|
||||||
if (player->secondjump == 1 && player->charability != CA_DOUBLEJUMP)
|
if (player->secondjump == 1 && player->charability != CA_DOUBLEJUMP && player->charability != CA_THOK)
|
||||||
{
|
{
|
||||||
fixed_t potentialmomz;
|
fixed_t potentialmomz;
|
||||||
if (player->charability == CA_SLOWFALL)
|
if (player->charability == CA_SLOWFALL)
|
||||||
|
|
Loading…
Reference in a new issue