mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-03-03 09:51:15 +00:00
Don't let mine explosion's own hitbox receive hitlag
Don't extend the time that its hitbox remains.
This commit is contained in:
parent
8c1771112c
commit
d28b1615cf
1 changed files with 4 additions and 0 deletions
|
|
@ -313,6 +313,10 @@ tic_t K_MineExplodeAttack(mobj_t *actor, fixed_t size, boolean spin)
|
|||
// Set this flag to ensure that the inital action won't be triggered twice.
|
||||
actor->flags2 |= MF2_DEBRIS;
|
||||
|
||||
// Set this flag to ensure the hitbox timer doesn't get extended with every player hit
|
||||
actor->flags |= MF_NOHITLAGFORME;
|
||||
actor->hitlag = 0; // same deal
|
||||
|
||||
if (!spin)
|
||||
{
|
||||
if (minehitlag == 0)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue