| 20 | |
| 21 | CDestroyablePhysicsObject::~CDestroyablePhysicsObject() {} |
| 22 | void CDestroyablePhysicsObject::OnChangeVisual() |
| 23 | { |
| 24 | if (m_pPhysicsShell) |
| 25 | { |
| 26 | m_pPhysicsShell->Deactivate(); |
| 27 | xr_delete(m_pPhysicsShell); |
| 28 | VERIFY(0 == Visual()); |
| 29 | } |
| 30 | inherited::OnChangeVisual(); |
| 31 | } |
| 32 | CPhysicsShellHolder* CDestroyablePhysicsObject ::PPhysicsShellHolder() { return cast_physics_shell_holder(); } |
| 33 | |
| 34 | void CDestroyablePhysicsObject::net_Destroy() |
nothing calls this directly
no test coverage detected