Replace some Hide calls with Disappear and we don't need this check in TalkMonster anymore

This commit is contained in:
Xylemon 2023-01-17 13:37:03 -08:00
parent 06d3721547
commit 19d7f30cc4
2 changed files with 2 additions and 11 deletions

View file

@ -598,9 +598,9 @@ NSSurfacePropEntity::Death(void)
string gibeffect = GetPropData(PROPINFO_BREAKMODEL);
int breakcount = GetPropData(PROPINFO_BREAKCOUNT);
BreakModel_Spawn(absmin, absmax, [0,0,0], 100, breakcount, gibeffect);
Hide();
Disappear();
} else {
Hide();
Disappear();
}
/* handle explosions */

View file

@ -644,15 +644,6 @@ NSTalkMonster::SpawnKey(string strKey, string strValue)
}
}
#if 0
void
NSTalkMonster::Hide(void)
{
m_eFollowing = world;
NSMonster::Hide();
}
#endif
float
NSTalkMonster::SendEntity(entity ePEnt, float flChanged)
{