Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/game/client/c_baseanimating.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3294,6 +3294,7 @@ int C_BaseAnimating::DrawModel( int flags )
}
}
bool isMoving = false;
bool isHot = false;
if (inMotionVision && vel.LengthSqr() > 0.25 && !IsViewModel() && !(extraFlags & STUDIO_IGNORE_NEO_EFFECTS)) // MOVING_SPEED_MINIMUM ^2
{
isMoving = true;
Expand All @@ -3312,6 +3313,7 @@ int C_BaseAnimating::DrawModel( int flags )
IMaterial* pass = materials->FindMaterial("dev/thermal_base_animating_model", TEXTURE_GROUP_MODEL);
Assert(!IsErrorMaterial(pass));
modelrender->ForcedMaterialOverride(pass);
isHot = true;
}

#endif // NEO
Expand Down Expand Up @@ -3357,7 +3359,7 @@ int C_BaseAnimating::DrawModel( int flags )
}
}
#ifdef NEO
if (isMoving)
if (isMoving || isHot)
{
modelrender->ForcedMaterialOverride(nullptr);
}
Expand Down
Loading