mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 12:04:18 +02:00
cleanups
This commit is contained in:
parent
86b551c177
commit
40a25f859a
1 changed files with 1 additions and 1 deletions
|
@ -1310,7 +1310,7 @@ bool EntityItem::contains(const glm::vec3& point) const {
|
|||
if (getShapeType() == SHAPE_TYPE_COMPOUND) {
|
||||
bool success;
|
||||
bool result = getAABox(success).contains(point);
|
||||
return result & success;
|
||||
return result && success;
|
||||
} else {
|
||||
ShapeInfo info;
|
||||
info.setParams(getShapeType(), glm::vec3(0.5f));
|
||||
|
|
Loading…
Reference in a new issue