-------------------------------------------------------------------------------- Description: Is called right after the redfile finishes loading. Here we disable emitting particles of the trails. This is because there is slight delay to the actual ejection of the missile in during that timeperiod we don't want so see trail particles. ----------------------------------------------------------------
| 44 | // so see trail particles. |
| 45 | // -------------------------------------------------------------------------------- |
| 46 | bool EveMissile::Initialize() |
| 47 | { |
| 48 | EveSpaceObject2::Initialize(); |
| 49 | |
| 50 | // at this point we just finished loading the underlying redfile, now |
| 51 | // make 100% sure perticle emitting on all the warheads is disabled |
| 52 | for( PEveMissileWarheadVector::const_iterator it = m_warheads.begin(); it != m_warheads.end(); ++it ) |
| 53 | { |
| 54 | ( *it )->EnableParticleEmitting( false ); |
| 55 | } |
| 56 | |
| 57 | return true; |
| 58 | } |
| 59 | |
| 60 | // -------------------------------------------------------------------------------- |
| 61 | // Description: |
nothing calls this directly
no test coverage detected