| 510 | } |
| 511 | |
| 512 | void 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 | |
| 525 | void CExplosive::OnBeforeExplosion() |
| 526 | { |
nothing calls this directly
no test coverage detected