MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / net_Relcase

Method net_Relcase

ogsr_engine/xrGame/Missile.cpp:748–759  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

746 kinematics->CalculateBones();
747}
748void CMissile::net_Relcase(CObject* O)
749{
750 inherited::net_Relcase(O);
751 if (PPhysicsShell() && PPhysicsShell()->isActive())
752 {
753 if (O == smart_cast<CObject*>((CPhysicsShellHolder*)PPhysicsShell()->get_CallbackData()))
754 {
755 PPhysicsShell()->remove_ObjectContactCallback(ExitContactCallback);
756 PPhysicsShell()->set_CallbackData(NULL);
757 }
758 }
759}
760void CMissile::create_physic_shell()
761{
762 // create_box2sphere_physic_shell();

Callers

nothing calls this directly

Calls 5

net_RelcaseFunction · 0.85
isActiveMethod · 0.45
get_CallbackDataMethod · 0.45
set_CallbackDataMethod · 0.45

Tested by

no test coverage detected