void CGrenade::Detonate(HOBJECT hObj) { // We're blowing up, take us out of the grenade list g_lstGrenades.Remove(this); CProjectile::Detonate(hObj); }
CGrenade::~CGrenade() { // Just to be safe... g_lstGrenades.Remove(this); if (m_hBounceSnd) { g_pLTServer->KillSound(m_hBounceSnd); m_hBounceSnd = LTNULL; } }