not local

This commit is contained in:
Sally Coolatta 2022-05-22 14:39:54 -04:00
parent 83b5bfef59
commit f1f45c651c

View file

@ -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;