mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 12:31:54 +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.
|
// Extend the invincibility if the hit was a direct hit.
|
||||||
if (inflictor == source && source->player->invincibilitytimer &&
|
if (inflictor == source && source->player->invincibilitytimer &&
|
||||||
!K_PowerUpRemaining(player, POWERUP_SMONITOR))
|
!K_PowerUpRemaining(source->player, POWERUP_SMONITOR))
|
||||||
{
|
{
|
||||||
tic_t kinvextend;
|
tic_t kinvextend;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue