mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-29 21:49:20 +00:00
fix address sanitizer issues
This commit is contained in:
@@ -2297,9 +2297,9 @@ void CVoxelTree::EnumerateElementsAlongRay( SpatialPartitionListMask_t listMask,
|
||||
vecInvDelta[1] = ( clippedRay.m_Delta[1] != 0.0f ) ? 1.0f / clippedRay.m_Delta[1] : FLT_MAX;
|
||||
vecInvDelta[2] = ( clippedRay.m_Delta[2] != 0.0f ) ? 1.0f / clippedRay.m_Delta[2] : FLT_MAX;
|
||||
|
||||
CPartitionVisits *pPrevVisits = BeginVisit();
|
||||
|
||||
m_lock.LockForRead();
|
||||
|
||||
CPartitionVisits *pPrevVisits = BeginVisit();
|
||||
if ( ray.m_IsRay )
|
||||
{
|
||||
EnumerateElementsAlongRay_Ray( listMask, clippedRay, vecInvDelta, vecEnd, pIterator );
|
||||
|
||||
Reference in New Issue
Block a user