Fixed flashingtics not working if you've never taken any damage in a match before.
Two notable consequences of this bug: * The delay when pressing the item button as a spectator to toggle PF_WANTSTOJOIN was not present, leading to a rapid toggle and spurious changeteam commands. * Lightsnaking through map hazards such as Lavender Shrine's stabbies caused you extra spicy unavoidable pain.
This commit is contained in:
parent
1551efb70d
commit
dc47f7e64d
1 changed files with 4 additions and 1 deletions
|
|
@ -7276,7 +7276,10 @@ void K_KartPlayerThink(player_t *player, ticcmd_t *cmd)
|
||||||
|| player->squishedtimer != 0
|
|| player->squishedtimer != 0
|
||||||
|| player->flipovertimer != 0)
|
|| player->flipovertimer != 0)
|
||||||
{
|
{
|
||||||
player->flashing = K_GetKartFlashing(player);
|
if (( player->spinouttype & KSPIN_IFRAMES ) == 0)
|
||||||
|
player->flashing = 0;
|
||||||
|
else
|
||||||
|
player->flashing = K_GetKartFlashing(player);
|
||||||
}
|
}
|
||||||
else if (player->flashing >= K_GetKartFlashing(player))
|
else if (player->flashing >= K_GetKartFlashing(player))
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue