| 198 | } |
| 199 | |
| 200 | void CPhysicsShellHolder::deactivate_physics_shell() |
| 201 | { |
| 202 | CParticlesPlayer::DestroyParticles(); //удалить партиклы из ParticlePlayer |
| 203 | |
| 204 | if (m_pPhysicsShell) |
| 205 | m_pPhysicsShell->Deactivate(); |
| 206 | xr_delete(m_pPhysicsShell); |
| 207 | } |
| 208 | void CPhysicsShellHolder::PHSetMaterial(u16 m) |
| 209 | { |
| 210 | if (m_pPhysicsShell) |
no test coverage detected