From 093f7b6f67c0db6f24ad93c5f52a6719d150438a Mon Sep 17 00:00:00 2001 From: TotallyNotElite <1yourexperiment@protonmail.com> Date: Thu, 24 May 2018 14:19:23 +0200 Subject: [PATCH] Correctly display friend glow when glow_health is on --- src/visual/EffectGlow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/visual/EffectGlow.cpp b/src/visual/EffectGlow.cpp index 296ff87d..ed5451ee 100644 --- a/src/visual/EffectGlow.cpp +++ b/src/visual/EffectGlow.cpp @@ -260,7 +260,7 @@ rgba_t EffectGlow::GlowColor(IClientEntity *entity) return colors::red; if (ent->m_IDX == LOCAL_E->m_IDX && glowself && !rainbow) return colors::FromRGBA8(glowR, glowG, glowB, 255); - if (health) + if (health && playerlist::IsDefault(ent)) { return colors::Health(ent->m_iHealth(), ent->m_iMaxHealth()); }