| 263 | } |
| 264 | } |
| 265 | void CCharacterPhysicsSupport::in_NetDestroy() |
| 266 | { |
| 267 | m_PhysicMovementControl->DestroyCharacter(); |
| 268 | |
| 269 | if (m_physics_skeleton) |
| 270 | { |
| 271 | m_physics_skeleton->Deactivate(); |
| 272 | xr_delete(m_physics_skeleton); |
| 273 | } |
| 274 | if (m_pPhysicsShell) |
| 275 | { |
| 276 | m_pPhysicsShell->Deactivate(); |
| 277 | xr_delete(m_pPhysicsShell); |
| 278 | } |
| 279 | |
| 280 | m_flags.set(fl_skeleton_in_shell, FALSE); |
| 281 | CPHSkeleton::RespawnInit(); |
| 282 | CPHDestroyable::RespawnInit(); |
| 283 | m_eState = esAlive; |
| 284 | xr_delete(m_interactive_motion); |
| 285 | destroy_animation_collision(); |
| 286 | DestroyIKController(); |
| 287 | } |
| 288 | |
| 289 | void CCharacterPhysicsSupport::in_NetSave(NET_Packet& P) { CPHSkeleton::SaveNetState(P); } |
| 290 |
no test coverage detected