From 7504c8109545ffd77fae027c709d4b0a9cffe8fa Mon Sep 17 00:00:00 2001 From: 0TheSpy <5511c282@opayq.com> Date: Thu, 10 Nov 2022 00:37:33 +0300 Subject: [PATCH] Update Skinchanger.cpp --- SpyCustom/Skinchanger.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } }