mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 14:44:36 +00:00
clang reports: unclear || + && and &+| mixes.
This commit is contained in:
parent
1131ed15df
commit
c57b1a8b70
16 changed files with 30 additions and 28 deletions
|
|
@ -632,9 +632,9 @@ DecalInstance* DecalManager::getClosestDecal( const Point3F &pos )
|
|||
}
|
||||
}
|
||||
|
||||
if ( !collectedInsts.empty() &&
|
||||
if ( (!collectedInsts.empty() &&
|
||||
collectedInsts[closestIndex] &&
|
||||
closestDistance < 1.0f ||
|
||||
closestDistance < 1.0f) ||
|
||||
worldInstSphere.isContained( pos ) )
|
||||
return collectedInsts[closestIndex];
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue