mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Allow forcespin sectors to work on no spin characters
This commit is contained in:
parent
826a4429dd
commit
302ff8e43b
1 changed files with 2 additions and 2 deletions
|
|
@ -4503,7 +4503,7 @@ DoneSection2:
|
|||
|
||||
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))
|
||||
player->pflags |= PF_SPINNING;
|
||||
|
|
@ -4669,7 +4669,7 @@ DoneSection2:
|
|||
break;
|
||||
|
||||
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;
|
||||
P_SetPlayerMobjState(player->mo, S_PLAY_ROLL);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue