mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-03 06:33:14 +00:00
Nullify damaging hitlag for players with hyudorotimer
This commit is contained in:
parent
39a867b705
commit
784090ec00
1 changed files with 1 additions and 1 deletions
|
|
@ -2301,7 +2301,7 @@ static void AddNullHitlag(player_t *player, tic_t oldHitlag)
|
||||||
// 1) repeating damage doesn't count
|
// 1) repeating damage doesn't count
|
||||||
// 2) new damage sources still count
|
// 2) new damage sources still count
|
||||||
|
|
||||||
if (player->timeshit <= player->timeshitprev)
|
if (player->timeshit <= player->timeshitprev || player->hyudorotimer > 0)
|
||||||
{
|
{
|
||||||
player->nullHitlag += (player->mo->hitlag - oldHitlag);
|
player->nullHitlag += (player->mo->hitlag - oldHitlag);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue