diff --git a/src/Components/Modules/Gamepad.cpp b/src/Components/Modules/Gamepad.cpp index d2db967d..9b72f5d9 100644 --- a/src/Components/Modules/Gamepad.cpp +++ b/src/Components/Modules/Gamepad.cpp @@ -482,7 +482,7 @@ namespace Components Game::AimAssist_UpdateAdsLerp(input); AimAssist_ApplyTurnRates(input, output); - Game::AimAssist_ApplyAutoAim(input, output); + Game::AimAssist_ApplyAutoMelee(input, output); } aaGlob.prevButtons = input->buttons; diff --git a/src/Game/Functions.cpp b/src/Game/Functions.cpp index d9131420..6c2c35a5 100644 --- a/src/Game/Functions.cpp +++ b/src/Game/Functions.cpp @@ -344,7 +344,7 @@ namespace Game unzClose_t unzClose = unzClose_t(0x41BF20); - AimAssist_ApplyAutoAim_t AimAssist_ApplyAutoAim = AimAssist_ApplyAutoAim_t(0x56A360); + AimAssist_ApplyAutoMelee_t AimAssist_ApplyAutoMelee = AimAssist_ApplyAutoMelee_t(0x56A360); XAssetHeader* DB_XAssetPool = reinterpret_cast(0x7998A8); unsigned int* g_poolSize = reinterpret_cast(0x7995E8); diff --git a/src/Game/Functions.hpp b/src/Game/Functions.hpp index b0b90efb..0ec533a3 100644 --- a/src/Game/Functions.hpp +++ b/src/Game/Functions.hpp @@ -810,8 +810,8 @@ namespace Game typedef void(__cdecl * unzClose_t)(void* handle); extern unzClose_t unzClose; - typedef void(__cdecl* AimAssist_ApplyAutoAim_t)(const AimInput* input, AimOutput* output); - extern AimAssist_ApplyAutoAim_t AimAssist_ApplyAutoAim; + typedef void(__cdecl* AimAssist_ApplyAutoMelee_t)(const AimInput* input, AimOutput* output); + extern AimAssist_ApplyAutoMelee_t AimAssist_ApplyAutoMelee; extern XAssetHeader* DB_XAssetPool; extern unsigned int* g_poolSize;