mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'knuxstuff' into 'master'
Minor Knuckles fixes See merge request STJr/SRB2Internal!527
This commit is contained in:
commit
0f149b0feb
1 changed files with 2 additions and 2 deletions
|
|
@ -2307,7 +2307,7 @@ boolean P_PlayerHitFloor(player_t *player, boolean dorollstuff)
|
|||
else if (!player->skidtime)
|
||||
player->pflags &= ~PF_GLIDING;
|
||||
}
|
||||
else if (player->charability == CA_GLIDEANDCLIMB && player->pflags & PF_THOKKED && !(player->pflags & PF_SHIELDABILITY) && player->mo->state-states == S_PLAY_FALL)
|
||||
else if (player->charability == CA_GLIDEANDCLIMB && player->pflags & PF_THOKKED && !(player->pflags & (PF_JUMPED|PF_SHIELDABILITY)) && player->mo->state-states == S_PLAY_FALL)
|
||||
{
|
||||
if (player->mo->state-states != S_PLAY_GLIDE_LANDING)
|
||||
{
|
||||
|
|
@ -3534,7 +3534,7 @@ static void P_DoClimbing(player_t *player)
|
|||
{
|
||||
P_SetObjectMomZ(player->mo, 2*FRACUNIT, true);
|
||||
if (cmd->forwardmove)
|
||||
P_SetObjectMomZ(player->mo, 2*player->mo->momz/3, false);
|
||||
player->mo->momz = 2*player->mo->momz/3;
|
||||
}
|
||||
if (thrust)
|
||||
P_Thrust(player->mo, player->mo->angle, FixedMul(4*FRACUNIT, player->mo->scale)); // Lil' boost up.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue