if (vars.player.chams.add_glow[enemy_visible].enable)
{
alpha = (float)vars.chams.add_glow[enemy_visible].color.a() / 255.0f;
float color[3] =
{
vars.chams.add_glow[enemy_visible].color[0] / 255.0f,
vars.chams.add_glow[enemy_visible].color[1] / 255.0f,
vars.chams.add_glow[enemy_visible].color[2] / 255.0f
};
interfaces::renderview()->SetBlend(alpha * alpha_modifier);
util::color_modulate(color, glow_material);
glow_material->IncrementReferenceCount();
glow_material->SetMaterialVarFlag(MATERIAL_VAR_IGNOREZ, false);
interfaces::modelrender()->ForcedMaterialOverride(double_material);
original_fn(interfaces::modelrender(), ctx, state, info, bone_to_world);
interfaces::modelrender()->ForcedMaterialOverride(nullptr);
}