MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / OnAfterExplosion

Method OnAfterExplosion

ogsr_engine/xrGame/Explosive.cpp:512–523  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

510}
511
512void CExplosive::OnAfterExplosion()
513{
514 if (m_pExpParticle)
515 {
516 m_pExpParticle->Stop();
517 CParticlesObject::Destroy(m_pExpParticle);
518 m_pExpParticle = NULL;
519 }
520 //ликвидировать сам объект
521 if (cast_game_object()->Local())
522 cast_game_object()->DestroyObject();
523}
524
525void CExplosive::OnBeforeExplosion()
526{

Callers

nothing calls this directly

Calls 4

DestroyFunction · 0.85
cast_game_objectFunction · 0.70
StopMethod · 0.45
DestroyObjectMethod · 0.45

Tested by

no test coverage detected