Fix Eggmark not activating on players in precisely timed hitlag

This commit is contained in:
Antonio Martinez 2025-09-25 18:02:19 -04:00
parent b7f8afd5ef
commit b587b4b574

View file

@ -4050,7 +4050,7 @@ boolean P_DamageMobj(mobj_t *target, mobj_t *inflictor, mobj_t *source, INT32 da
}
}
if (inflictor && !P_MobjWasRemoved(inflictor) && inflictor->momx == 0 && inflictor->momy == 0 && inflictor->momz == 0)
if (inflictor && !P_MobjWasRemoved(inflictor) && inflictor->momx == 0 && inflictor->momy == 0 && inflictor->momz == 0 && inflictor->type != MT_SPBEXPLOSION)
{
// Probably a map hazard.
allowcombo = false;