mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-03-06 19:31:13 +00:00
Force non-nights player into rolling animation when destructing capsule
This commit is contained in:
parent
2b5dd97446
commit
c7b914c2ce
1 changed files with 7 additions and 0 deletions
|
|
@ -5978,6 +5978,13 @@ static void P_DoNiGHTSCapsule(player_t *player)
|
|||
P_SetPlayerMobjState(player->mo, S_PLAY_NIGHTS_ATTACK);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!(player->pflags & PF_JUMPED) && !(player->pflags & PF_SPINNING))
|
||||
player->pflags |= PF_JUMPED;
|
||||
if (player->panim != PA_ROLL)
|
||||
P_SetPlayerMobjState(player->mo, S_PLAY_ROLL);
|
||||
}
|
||||
|
||||
if (G_IsSpecialStage(gamemap))
|
||||
{ // In special stages, share rings. Everyone gives up theirs to the capsule player always, because we can't have any individualism here!
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue