mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-02-22 11:51:41 +00:00
lmao formatting
This commit is contained in:
parent
09644d69c0
commit
01a03a4daa
1 changed files with 3 additions and 2 deletions
|
@ -2330,8 +2330,9 @@ 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) && player->panim != PA_ROLL
|
if (player->mo->state-states != S_PLAY_ROLL && !(player->pflags & PF_STARTDASH)
|
||||||
&& player->panim != PA_ETC && player->panim != PA_ABILITY && player->panim != PA_ABILITY2)
|
&& player->panim != PA_ROLL && player->panim != PA_ETC
|
||||||
|
&& player->panim != PA_ABILITY && player->panim != PA_ABILITY2)
|
||||||
{
|
{
|
||||||
P_SetPlayerMobjState(player->mo, S_PLAY_ROLL);
|
P_SetPlayerMobjState(player->mo, S_PLAY_ROLL);
|
||||||
S_StartSound(player->mo, sfx_spin);
|
S_StartSound(player->mo, sfx_spin);
|
||||||
|
|
Loading…
Reference in a new issue