mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-08 01:39:36 +00:00
physics: fix a lot of problems
This commit is contained in:
@@ -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 = 1e16;
|
||||
float flClosest = 1e24;
|
||||
CObjectBarbedWire *pClosest = NULL;
|
||||
|
||||
CBaseEntity *pCur = gEntList.FirstEnt();
|
||||
|
||||
Reference in New Issue
Block a user