Possibly fix chams crashes

This commit is contained in:
LightCat 2019-04-18 14:34:35 +02:00
parent bace97ad1a
commit 2bc7606b56
2 changed files with 1 additions and 3 deletions

View File

@ -8,7 +8,6 @@
<AutoVariable width="fill" target="chams.health" label="Health"/>
<AutoVariable width="fill" target="chams.recursive" label="Recursive"/>
<AutoVariable width="fill" target="chams.single-pass" label="Single pass"/>
<AutoVariable width="fill" target="chams.health" label="Health"/>
<AutoVariable width="fill" target="chams.self-rainbow" label="Self Rainbow"/>
<AutoVariable width="fill" target="chams.white-weapons" label="White Weapons"/>
<LabeledObject width="fill" label="Solid when">

View File

@ -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