mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Let player punt if tricking
This commit is contained in:
parent
38d9875d4c
commit
7d998d0d91
1 changed files with 5 additions and 0 deletions
|
|
@ -13160,6 +13160,11 @@ boolean K_IsPlayingDisplayPlayer(player_t *player)
|
||||||
|
|
||||||
boolean K_PlayerCanPunt(player_t *player)
|
boolean K_PlayerCanPunt(player_t *player)
|
||||||
{
|
{
|
||||||
|
if (player->trickpanel > TRICKSTATE_READY)
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
if (player->invincibilitytimer > 0)
|
if (player->invincibilitytimer > 0)
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue