glow not following player state fix
This commit is contained in:
parent
8280dc1d4a
commit
7656e61dfd
@ -8,7 +8,6 @@
|
|||||||
<AutoVariable width="fill" target="chams.health" label="Health"/>
|
<AutoVariable width="fill" target="chams.health" label="Health"/>
|
||||||
<AutoVariable width="fill" target="chams.recursive" label="Recursive"/>
|
<AutoVariable width="fill" target="chams.recursive" label="Recursive"/>
|
||||||
<AutoVariable width="fill" target="chams.single-pass" label="Single pass"/>
|
<AutoVariable width="fill" target="chams.single-pass" label="Single pass"/>
|
||||||
<AutoVariable width="fill" target="chams.self-rainbow" label="Self Rainbow"/>
|
|
||||||
<AutoVariable width="fill" target="chams.white-weapons" label="White Weapons"/>
|
<AutoVariable width="fill" target="chams.white-weapons" label="White Weapons"/>
|
||||||
<LabeledObject width="fill" label="Solid when">
|
<LabeledObject width="fill" label="Solid when">
|
||||||
<Select target="glow.solid-when">
|
<Select target="glow.solid-when">
|
||||||
|
@ -11,7 +11,6 @@
|
|||||||
<Option name="Not visible" value="2"/>
|
<Option name="Not visible" value="2"/>
|
||||||
</Select>
|
</Select>
|
||||||
</LabeledObject>
|
</LabeledObject>
|
||||||
<AutoVariable width="fill" target="glow.self-rainbow" label="Self Rainbow"/>
|
|
||||||
</List>
|
</List>
|
||||||
</Box>
|
</Box>
|
||||||
<Box padding="12 6 6 6" width="content" height="content" name="Targets" x="170">
|
<Box padding="12 6 6 6" width="content" height="content" name="Targets" x="170">
|
||||||
|
@ -27,7 +27,6 @@ static settings::Boolean weapons_white{ "chams.white-weapons", "true" };
|
|||||||
static settings::Boolean legit{ "chams.legit", "false" };
|
static settings::Boolean legit{ "chams.legit", "false" };
|
||||||
static settings::Boolean singlepass{ "chams.single-pass", "false" };
|
static settings::Boolean singlepass{ "chams.single-pass", "false" };
|
||||||
static settings::Boolean chamsself{ "chams.self", "true" };
|
static settings::Boolean chamsself{ "chams.self", "true" };
|
||||||
static settings::Boolean rainbow{ "chams.self-rainbow", "true" };
|
|
||||||
static settings::Boolean disco_chams{ "chams.disco", "false" };
|
static settings::Boolean disco_chams{ "chams.disco", "false" };
|
||||||
|
|
||||||
settings::Boolean enable{ "chams.enable", "false" };
|
settings::Boolean enable{ "chams.enable", "false" };
|
||||||
|
@ -247,11 +247,6 @@ rgba_t EffectGlow::GlowColor(IClientEntity *entity)
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case ENTITY_PLAYER:
|
case ENTITY_PLAYER:
|
||||||
if (ent->m_IDX == LOCAL_E->m_IDX)
|
|
||||||
if (LOCAL_E->m_iTeam() == TEAM_BLU)
|
|
||||||
return colors::blu;
|
|
||||||
else
|
|
||||||
return colors::red;
|
|
||||||
if (health && playerlist::IsDefault(ent))
|
if (health && playerlist::IsDefault(ent))
|
||||||
{
|
{
|
||||||
return colors::Health_dimgreen(ent->m_iHealth(), ent->m_iMaxHealth());
|
return colors::Health_dimgreen(ent->m_iHealth(), ent->m_iMaxHealth());
|
||||||
|
Reference in New Issue
Block a user