| 120 | } |
| 121 | |
| 122 | void CPHDestroyable::PhysicallyRemovePart(CPHDestroyableNotificate* dn) |
| 123 | { |
| 124 | CPhysicsShellHolder* sh = dn->PPhysicsShellHolder(); |
| 125 | CPhysicsShell* s = sh->PPhysicsShell(); |
| 126 | sh->setVisible(FALSE); |
| 127 | sh->setEnabled(FALSE); |
| 128 | s->Disable(); |
| 129 | s->DisableCollision(); |
| 130 | } |
| 131 | |
| 132 | void CPHDestroyable::Destroy(u16 source_id /*=u16(-1)*/, LPCSTR section /*="ph_skeleton_object"*/) |
| 133 | { |
nothing calls this directly
no test coverage detected