| 474 | } |
| 475 | |
| 476 | CPHCapture* CPhysicsShellHolder::PHCapture() |
| 477 | { |
| 478 | CCharacterPhysicsSupport* ph_sup = character_physics_support(); |
| 479 | if (!ph_sup) |
| 480 | return nullptr; |
| 481 | CPHMovementControl* mov = ph_sup->movement(); |
| 482 | if (!mov) |
| 483 | return nullptr; |
| 484 | return mov->PHCapture(); |
| 485 | } |
| 486 | |
| 487 | bool CPhysicsShellHolder::IsInventoryItem() { return !!cast_inventory_item(); } |
| 488 |
no test coverage detected