mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-02 14:12:47 +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
|
||||
// 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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue