| 545 | } |
| 546 | |
| 547 | void CCustomRocket::StartEngineParticles() |
| 548 | { |
| 549 | VERIFY(m_pEngineParticles == NULL); |
| 550 | if (!m_sEngineParticles) |
| 551 | return; |
| 552 | m_pEngineParticles = CParticlesObject::Create(*m_sEngineParticles, FALSE); |
| 553 | |
| 554 | UpdateParticles(); |
| 555 | m_pEngineParticles->Play(false); |
| 556 | |
| 557 | VERIFY(m_pEngineParticles); |
| 558 | VERIFY3(m_pEngineParticles->IsLooped(), "must be a looped particle system for rocket engine: %s", *m_sEngineParticles); |
| 559 | } |
| 560 | void CCustomRocket::StopEngineParticles() |
| 561 | { |
| 562 | if (m_pEngineParticles == NULL) |