Allow forcespin sectors to work on no spin characters
This commit is contained in:
parent
ad9bf6085f
commit
16fd754a39
|
@ -4503,7 +4503,7 @@ DoneSection2:
|
||||||
|
|
||||||
P_InstaThrust(player->mo, player->mo->angle, linespeed);
|
P_InstaThrust(player->mo, player->mo->angle, linespeed);
|
||||||
|
|
||||||
if ((lines[i].flags & ML_EFFECT5) && (player->charability2 == CA2_SPINDASH)) // Roll!
|
if (lines[i].flags & ML_EFFECT5) // Roll!
|
||||||
{
|
{
|
||||||
if (!(player->pflags & PF_SPINNING))
|
if (!(player->pflags & PF_SPINNING))
|
||||||
player->pflags |= PF_SPINNING;
|
player->pflags |= PF_SPINNING;
|
||||||
|
@ -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) && (player->charability2 == CA2_SPINDASH))
|
if (!(player->pflags & PF_SPINNING) && P_IsObjectOnGround(player->mo))
|
||||||
{
|
{
|
||||||
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