mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 12:31:54 +00:00
Remove unneeded S_PLAY_ROLL check
This commit is contained in:
parent
4272788c9a
commit
fee455ec7a
1 changed files with 1 additions and 2 deletions
|
|
@ -2330,8 +2330,7 @@ boolean P_PlayerHitFloor(player_t *player, boolean dorollstuff)
|
||||||
P_MobjCheckWater(player->mo);
|
P_MobjCheckWater(player->mo);
|
||||||
if (player->pflags & PF_SPINNING)
|
if (player->pflags & PF_SPINNING)
|
||||||
{
|
{
|
||||||
if (player->mo->state-states != S_PLAY_ROLL && !(player->pflags & PF_STARTDASH)
|
if (!(player->pflags & PF_STARTDASH) && player->panim != PA_ROLL && player->panim != PA_ETC
|
||||||
&& player->panim != PA_ROLL && player->panim != PA_ETC
|
|
||||||
&& player->panim != PA_ABILITY && player->panim != PA_ABILITY2)
|
&& player->panim != PA_ABILITY && player->panim != PA_ABILITY2)
|
||||||
{
|
{
|
||||||
P_SetPlayerMobjState(player->mo, S_PLAY_ROLL);
|
P_SetPlayerMobjState(player->mo, S_PLAY_ROLL);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue