mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-13 02:02:17 +00:00
Fix "S" extending invincibility timer on hit
This commit is contained in:
parent
e03e1aff0c
commit
4c30b84588
1 changed files with 1 additions and 1 deletions
|
|
@ -2424,7 +2424,7 @@ boolean P_DamageMobj(mobj_t *target, mobj_t *inflictor, mobj_t *source, INT32 da
|
|||
{
|
||||
// Extend the invincibility if the hit was a direct hit.
|
||||
if (inflictor == source && source->player->invincibilitytimer &&
|
||||
!K_PowerUpRemaining(player, POWERUP_SMONITOR))
|
||||
!K_PowerUpRemaining(source->player, POWERUP_SMONITOR))
|
||||
{
|
||||
tic_t kinvextend;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue