Merge pull request #117 from FreeSlave/opfor-shockroach

Fix shockroach
This commit is contained in:
Andrey Akhmichin 2020-02-10 14:12:16 +05:00 committed by GitHub
commit 7c57dc5318

View File

@ -163,9 +163,7 @@ void CShockRoach::MonsterThink(void)
}
if (lifeTime >= gSkillData.sroachLifespan)
{
pev->health = -1;
Killed(pev, 0);
return;
TakeDamage(pev, pev, pev->health, DMG_NEVERGIB);
}
CHeadCrab::MonsterThink();