cleanup return statement

This commit is contained in:
Andrew Meadows 2018-07-10 11:16:56 -07:00
parent 28583ad2a2
commit 0b87df45b5

View file

@ -2414,11 +2414,7 @@ bool EntityItem::shouldSuppressLocationEdits() const {
} }
// if any of the ancestors are MyAvatar, suppress // if any of the ancestors are MyAvatar, suppress
if (isChildOfMyAvatar()) { return isChildOfMyAvatar();
return true;
}
return false;
} }
QList<EntityDynamicPointer> EntityItem::getActionsOfType(EntityDynamicType typeToGet) const { QList<EntityDynamicPointer> EntityItem::getActionsOfType(EntityDynamicType typeToGet) const {