mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-02-01 06:00:45 +00:00
reallow score chains from rolling
This commit is contained in:
parent
31a6b7b365
commit
2714ac44b4
1 changed files with 2 additions and 2 deletions
|
@ -8412,12 +8412,12 @@ void P_MovePlayer(player_t *player)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// End your chain if you're on the ground or climbing a wall.
|
// End your chain if you're on the ground while not rolling, or climbing a wall.
|
||||||
// But not if invincible! Allow for some crazy long chains with it.
|
// But not if invincible! Allow for some crazy long chains with it.
|
||||||
// Also keep in mind the PF_JUMPED check.
|
// Also keep in mind the PF_JUMPED check.
|
||||||
// If we lacked this, stepping up while jumping up would reset score.
|
// If we lacked this, stepping up while jumping up would reset score.
|
||||||
// (for instance, when climbing up off a wall.)
|
// (for instance, when climbing up off a wall.)
|
||||||
if ((onground || player->climbing) && !(player->pflags & PF_JUMPED) && player->powers[pw_invulnerability] <= 1)
|
if ((onground || player->climbing) && ((player->pflags & (PF_STARTDASH|PF_SPINNING)) != PF_SPINNING) && !(player->pflags & PF_JUMPED) && player->powers[pw_invulnerability] <= 1)
|
||||||
P_ResetScore(player);
|
P_ResetScore(player);
|
||||||
|
|
||||||
// Show the "THOK!" graphic when spinning quickly across the ground. (even applies to non-spinners, in the case of zoom tubes)
|
// Show the "THOK!" graphic when spinning quickly across the ground. (even applies to non-spinners, in the case of zoom tubes)
|
||||||
|
|
Loading…
Reference in a new issue