We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8355bc7 commit a586c7cCopy full SHA for a586c7c
1 file changed
src/game/shared/neo/neo_predicted_viewmodel.cpp
@@ -225,6 +225,7 @@ void CNEOPredictedViewModel::ClientThink()
225
}
226
227
extern ConVar mat_neo_toc_test;
228
+extern ConVar glow_outline_effect_enable;
229
int CNEOPredictedViewModel::DrawModel(int flags)
230
{
231
auto pPlayer = static_cast<C_NEO_Player*>(GetOwner());
@@ -254,7 +255,7 @@ int CNEOPredictedViewModel::DrawModel(int flags)
254
255
256
return 0;
257
- if (pPlayer->GetClass() == NEO_CLASS_SUPPORT && pPlayer->IsInVision())
258
+ if (pPlayer->GetClass() == NEO_CLASS_SUPPORT && pPlayer->IsInVision() && !glow_outline_effect_enable.GetBool())
259
260
IMaterial* pass = materials->FindMaterial("dev/thermal_view_model", TEXTURE_GROUP_MODEL);
261
Assert(pass && !pass->IsErrorMaterial());
0 commit comments