Esempio n. 1
0
void CGrenade::Detonate(HOBJECT hObj)
{
	// We're blowing up, take us out of the grenade list
	g_lstGrenades.Remove(this);

	CProjectile::Detonate(hObj);
}
Esempio n. 2
0
CGrenade::~CGrenade()
{
	// Just to be safe...
	g_lstGrenades.Remove(this);

	if (m_hBounceSnd)
	{
        g_pLTServer->KillSound(m_hBounceSnd);
        m_hBounceSnd = LTNULL;
	}
}