| 53 | } |
| 54 | |
| 55 | void 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 | |
| 65 | void CWeaponStatMgun::Load(LPCSTR section) |
| 66 | { |
nothing calls this directly
no test coverage detected