diff --git a/SpyCustom/Skinchanger.cpp b/SpyCustom/Skinchanger.cpp index 830775b..6f429b9 100644 --- a/SpyCustom/Skinchanger.cpp +++ b/SpyCustom/Skinchanger.cpp @@ -503,6 +503,7 @@ void __fastcall hkFrameStageNotify(IBaseClientDLL* thisptr, void* edx, ClientFra if (opt.needupdate) { + //broken static auto clear_hud_weapon_icon_ptr = FindPatternV2("client.dll", "E8 ? ? ? ? 8B F0 C6 44 24 ? ? C6 44 24") + 1; static auto clearHudWeapon = reinterpret_cast(clear_hud_weapon_icon_ptr); auto element = FindHudElement("CCSGO_HudWeaponSelection"); @@ -516,8 +517,7 @@ void __fastcall hkFrameStageNotify(IBaseClientDLL* thisptr, void* edx, ClientFra i = clearHudWeapon(hud_weapons, i); } } - - + opt.needupdate = 0; } }