warning fix

This commit is contained in:
ZappoMan 2014-09-02 18:45:38 -07:00
parent a555eeda23
commit 9cf6fcdaab

View file

@ -131,8 +131,7 @@ OctreeElement* MovingEntitiesOperator::PossiblyCreateChildAt(OctreeElement* elem
// check against each of our entities
foreach(const EntityToMoveDetails& details, _entitiesToMove) {
EntityTreeElement* entityTreeElement = static_cast<EntityTreeElement*>(element);
// if the scale of our desired cube is smaller than our children, then consider making a child
if (details.newBox.getLargestDimension() <= childElementScale) {