This commit is contained in:
Seth Alves 2016-01-03 08:00:23 -08:00
parent 86b551c177
commit 40a25f859a

View file

@ -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));