Allow the Forcespin sector type to be used with intangible fofs
Didn't think simply removing the P_IsObjectOnGround was gonna work, but apparently it does.
This commit is contained in:
parent
01a03a4daa
commit
7ad8aa1477
|
@ -4669,7 +4669,7 @@ DoneSection2:
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 7: // Make player spin
|
case 7: // Make player spin
|
||||||
if (!(player->pflags & PF_SPINNING) && P_IsObjectOnGround(player->mo))
|
if (!(player->pflags & PF_SPINNING))
|
||||||
{
|
{
|
||||||
player->pflags |= PF_SPINNING;
|
player->pflags |= PF_SPINNING;
|
||||||
P_SetPlayerMobjState(player->mo, S_PLAY_ROLL);
|
P_SetPlayerMobjState(player->mo, S_PLAY_ROLL);
|
||||||
|
|
Loading…
Reference in New Issue