Replace 1e24 with 1e16 to avoid float overflow

This commit is contained in:
nillerusr
2021-10-13 20:01:24 +03:00
parent 977bac3205
commit cb04a1e451
22 changed files with 31 additions and 31 deletions
+2 -2
View File
@@ -150,8 +150,8 @@ C_SteamJet::C_SteamJet()
m_bFaceLeft = false;
m_ParticleEffect.SetAlwaysSimulate( false ); // Don't simulate outside the PVS or frustum.
m_vLastRampUpdatePos.Init( 1e24, 1e24, 1e24 );
m_vLastRampUpdateAngles.Init( 1e24, 1e24, 1e24 );
m_vLastRampUpdatePos.Init( 1e16, 1e16, 1e16 );
m_vLastRampUpdateAngles.Init( 1e16, 1e16, 1e16 );
}