mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-05 21:40:31 +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
|
|
@ -307,7 +307,7 @@ void SceneContainer::insertIntoBins(SceneObject* obj,
|
|||
// For huge objects, dump them into the overflow bin. Otherwise, everything
|
||||
// goes into the grid...
|
||||
//
|
||||
if ((maxX - minX + 1) < csmNumBins || (maxY - minY + 1) < csmNumBins && !obj->isGlobalBounds())
|
||||
if ((maxX - minX + 1) < csmNumBins || ((maxY - minY + 1) < csmNumBins && !obj->isGlobalBounds()))
|
||||
{
|
||||
SceneObjectRef** pCurrInsert = &obj->mBinRefHead;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue