[Movement]: Comments

This commit is contained in:
Diavolo 2023-02-20 13:36:15 +01:00
parent dda7b4024e
commit f6852ae2da
No known key found for this signature in database
GPG Key ID: FA77F074E98D98A5

View File

@ -278,7 +278,7 @@ namespace Components
BGBounces = Game::Dvar_RegisterEnum("bg_bounces", bg_bouncesValues, DISABLED, Game::DVAR_CODINFO, "Bounce glitch settings");
});
// Hook Dvar_RegisterFloat. Only thing that's changed is that the 0x80 flag is not used.
// Hook Dvar_RegisterFloat. Only thing that's changed is that the 0x80 flag is not used
Utils::Hook(0x448990, Dvar_RegisterSpectateSpeedScale, HOOK_CALL).install()->quick();
// PM_CmdScaleForStance
@ -298,7 +298,7 @@ namespace Components
// Rocket jump
Utils::Hook(0x4A4F9B, Weapon_RocketLauncher_Fire_Hk, HOOK_CALL).install()->quick(); // FireWeapon
// Hook StuckInClient & CM_TransformedCapsuleTrace
// Hook StuckInClient & CM_TransformedCapsuleTrace
// so we can prevent intersecting players from being pushed away from each other
Utils::Hook(0x5D8153, StuckInClient_Hk, HOOK_CALL).install()->quick();
Utils::Hook(0x45A5BF, CM_TransformedCapsuleTrace_Hk, HOOK_CALL).install()->quick(); // SV_ClipMoveToEntity