Replace some Hide calls with Disappear and we don't need this check in TalkMonster anymore
This commit is contained in:
parent
06d3721547
commit
19d7f30cc4
2 changed files with 2 additions and 11 deletions
|
@ -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 */
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue