| 566 | m_pEngineParticles = NULL; |
| 567 | } |
| 568 | void CCustomRocket::StartFlyParticles() |
| 569 | { |
| 570 | if (m_flyingSound._handle()) |
| 571 | m_flyingSound.play_at_pos(0, XFORM().c, sm_Looped); |
| 572 | |
| 573 | VERIFY(m_pFlyParticles == NULL); |
| 574 | |
| 575 | if (!m_sFlyParticles) |
| 576 | return; |
| 577 | m_pFlyParticles = CParticlesObject::Create(*m_sFlyParticles, FALSE); |
| 578 | |
| 579 | UpdateParticles(); |
| 580 | m_pFlyParticles->Play(false); |
| 581 | |
| 582 | VERIFY(m_pFlyParticles); |
| 583 | VERIFY3(m_pFlyParticles->IsLooped(), "must be a looped particle system for rocket fly: %s", *m_sFlyParticles); |
| 584 | } |
| 585 | void CCustomRocket::StopFlyParticles() |
| 586 | { |
| 587 | if (m_flyingSound._handle()) |