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

Method ResetBoneCallbacks

ogsr_engine/xrGame/WeaponStatMgun.cpp:55–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55void CWeaponStatMgun::ResetBoneCallbacks()
56{
57 CBoneInstance& biX = smart_cast<IKinematics*>(Visual())->LL_GetBoneInstance(m_rotate_x_bone);
58 biX.reset_callback();
59 CBoneInstance& biY = smart_cast<IKinematics*>(Visual())->LL_GetBoneInstance(m_rotate_y_bone);
60 biY.reset_callback();
61
62 m_pPhysicsShell->EnabledCallbacks(TRUE);
63}
64
65void CWeaponStatMgun::Load(LPCSTR section)
66{

Callers

nothing calls this directly

Calls 2

VisualFunction · 0.85
EnabledCallbacksMethod · 0.80

Tested by

no test coverage detected