mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 09:11:48 +00:00
Merge branch 'hammer-landing' into 'master'
Twinspin landing option See merge request STJr/SRB2Internal!402
This commit is contained in:
commit
2118b0e613
1 changed files with 2 additions and 1 deletions
|
@ -2260,7 +2260,8 @@ boolean P_PlayerHitFloor(player_t *player, boolean dorollstuff)
|
||||||
else if (!player->skidtime)
|
else if (!player->skidtime)
|
||||||
player->pflags &= ~PF_GLIDING;
|
player->pflags &= ~PF_GLIDING;
|
||||||
}
|
}
|
||||||
else if (player->charability2 == CA2_MELEE && ((player->panim == PA_ABILITY2) || (player->charability == CA_TWINSPIN && player->panim == PA_ABILITY)))
|
else if (player->charability2 == CA2_MELEE
|
||||||
|
&& ((player->panim == PA_ABILITY2) || (player->charability == CA_TWINSPIN && player->panim == PA_ABILITY && player->cmd.buttons & (BT_JUMP|BT_USE))))
|
||||||
{
|
{
|
||||||
if (player->mo->state-states != S_PLAY_MELEE_LANDING)
|
if (player->mo->state-states != S_PLAY_MELEE_LANDING)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue