From 2bc7606b56afef859ce832d2251603c7e3ccecf5 Mon Sep 17 00:00:00 2001 From: LightCat Date: Thu, 18 Apr 2019 14:34:35 +0200 Subject: [PATCH] Possibly fix chams crashes --- data/menu/nullifiedcat/visuals/chams.xml | 1 - src/hacks/Aimbot.cpp | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/data/menu/nullifiedcat/visuals/chams.xml b/data/menu/nullifiedcat/visuals/chams.xml index b4ebd778..9aa83a6c 100755 --- a/data/menu/nullifiedcat/visuals/chams.xml +++ b/data/menu/nullifiedcat/visuals/chams.xml @@ -8,7 +8,6 @@ - diff --git a/src/hacks/Aimbot.cpp b/src/hacks/Aimbot.cpp index 7205d298..04a5d5e6 100644 --- a/src/hacks/Aimbot.cpp +++ b/src/hacks/Aimbot.cpp @@ -204,9 +204,8 @@ static void CreateMove() #if ENABLE_VISUALS if (target_entity->m_Type() == ENTITY_PLAYER) { - static effect_chams::EffectChams Effectchams; hacks::shared::esp::SetEntityColor(target_entity, colors::pink); - Effectchams.SetEntityColor(target_entity, colors::pink); + effect_chams::g_EffectChams.SetEntityColor(target_entity, colors::pink); } #endif