[Shmovement] Fix patches
This commit is contained in:
parent
222b1c945a
commit
36a7532290
@ -347,11 +347,9 @@ namespace Components
|
|||||||
// Rocket jump
|
// Rocket jump
|
||||||
Utils::Hook(0x4A4F9B, Movement::Weapon_RocketLauncher_Fire_Hk, HOOK_CALL).install()->quick(); // FireWeapon
|
Utils::Hook(0x4A4F9B, Movement::Weapon_RocketLauncher_Fire_Hk, HOOK_CALL).install()->quick(); // FireWeapon
|
||||||
|
|
||||||
// Hook StuckInClient so we can prevent intersecting players from being pushed away from each other
|
|
||||||
Utils::Hook(0x5D8153, Movement::StuckInClient_Hk, HOOK_CALL).install()->quick();
|
|
||||||
|
|
||||||
// Hook StuckInClient & CM_TransformedCapsuleTrace
|
// Hook StuckInClient & CM_TransformedCapsuleTrace
|
||||||
// so we can prevent intersecting players from being pushed away from each other
|
// so we can prevent intersecting players from being pushed away from each other
|
||||||
|
Utils::Hook(0x5D8153, Movement::StuckInClient_Hk, HOOK_CALL).install()->quick();
|
||||||
Utils::Hook(0x45A5BF, Movement::CM_TransformedCapsuleTrace_Hk, HOOK_CALL).install()->quick(); // SV_ClipMoveToEntity
|
Utils::Hook(0x45A5BF, Movement::CM_TransformedCapsuleTrace_Hk, HOOK_CALL).install()->quick(); // SV_ClipMoveToEntity
|
||||||
Utils::Hook(0x5A0CAD, Movement::CM_TransformedCapsuleTrace_Hk, HOOK_CALL).install()->quick(); // CG_ClipMoveToEntity
|
Utils::Hook(0x5A0CAD, Movement::CM_TransformedCapsuleTrace_Hk, HOOK_CALL).install()->quick(); // CG_ClipMoveToEntity
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user