mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 04:21:47 +00:00
Hide hitbox on nocollide whip
This commit is contained in:
parent
18d84c6c2c
commit
d9dda87586
1 changed files with 3 additions and 0 deletions
|
|
@ -35,5 +35,8 @@ void Obj_InstaWhipThink (mobj_t *whip)
|
||||||
whip->renderflags &= ~RF_DONTDRAW;
|
whip->renderflags &= ~RF_DONTDRAW;
|
||||||
else
|
else
|
||||||
whip->renderflags |= RF_DONTDRAW;
|
whip->renderflags |= RF_DONTDRAW;
|
||||||
|
|
||||||
|
if (whip->extravalue2) // Whip has no hitbox but removing it is a pain in the ass
|
||||||
|
whip->renderflags |= RF_DONTDRAW;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Add table
Reference in a new issue