| 21 | return 0; |
| 22 | } |
| 23 | CParticlesPlayer::SParticlesInfo* CParticlesPlayer::SBoneInfo::AppendParticles(CObject* object, const shared_str& ps_name) |
| 24 | { |
| 25 | SParticlesInfo* pi = FindParticles(ps_name); |
| 26 | if (pi) |
| 27 | return pi; |
| 28 | pi = &particles.emplace_back(); |
| 29 | pi->ps = CParticlesObject::Create(*ps_name, FALSE); |
| 30 | return pi; |
| 31 | } |
| 32 | void CParticlesPlayer::SBoneInfo::StopParticles(const shared_str& ps_name, bool bDestroy) |
| 33 | { |
| 34 | SParticlesInfo* pi = FindParticles(ps_name); |
no test coverage detected