mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
not local
This commit is contained in:
parent
83b5bfef59
commit
f1f45c651c
1 changed files with 1 additions and 1 deletions
|
|
@ -2823,7 +2823,7 @@ void K_PlayHitEmSound(mobj_t *source, mobj_t *victim)
|
|||
|
||||
K_RegularVoiceTimers(source->player);
|
||||
|
||||
if (victimIsLocal == true)
|
||||
if (victim != NULL && victim->player != NULL)
|
||||
{
|
||||
victim->player->confirmInflictor = source->player - players;
|
||||
victim->player->confirmInflictorDelay = TICRATE/2;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue