Skip to content

Commit

Permalink
Merge pull request #846 from celisej567/particlemgr-fix
Browse files Browse the repository at this point in the history
[FIX] Undefined behaviour on comparison of NaN and float at particlemgr.cpp
  • Loading branch information
BenLubar authored Jan 9, 2025
2 parents 5eab8bc + 22c3366 commit d01357c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/game/client/particlemgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,8 @@ CParticleEffectBinding::CParticleEffectBinding()

m_LastMin = m_Min;
m_LastMax = m_Max;

m_flParticleCullRadius = 0.0f;

SetParticleCullRadius( 0.0f );
m_nActiveParticles = 0;
Expand Down

0 comments on commit d01357c

Please sign in to comment.