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
+1 -1
View File
@@ -177,7 +177,7 @@ void CObjectBarbedWire::StartPlacement( CBaseTFPlayer *pPlayer )
if ( pPlayer && !m_hConnectedTo )
{
// Automatically connect to the nearest barbed wire on our team.
float flClosest = 1e24;
float flClosest = 1e16;
CObjectBarbedWire *pClosest = NULL;
CBaseEntity *pCur = gEntList.FirstEnt();