fix disappearing bodies in coop with respawning monsters (#211)

This commit is contained in:
CommonLoon102 2019-10-07 12:42:06 +00:00 committed by Christoph Oelckers
parent c050a0c4c8
commit 3b463bc38e

View file

@ -6880,7 +6880,7 @@ bool actCheckRespawn(spritetype *pSprite)
pSprite->owner = pSprite->statnum;
actPostSprite(pSprite->index, 8);
pSprite->flags |= 16;
if (pSprite->type >= kDudeBase && pSprite->type < kDudeMax)
if (!(pSprite->type >= kDudeBase && pSprite->type < kDudeMax))
{
pSprite->cstat &= ~257;
pSprite->x = baseSprite[nSprite].x;