summaryrefslogtreecommitdiff
path: root/scene/3d/area_3d.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/3d/area_3d.h')
-rw-r--r--scene/3d/area_3d.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/scene/3d/area_3d.h b/scene/3d/area_3d.h
index 377cf3ccbb..98f337d3e4 100644
--- a/scene/3d/area_3d.h
+++ b/scene/3d/area_3d.h
@@ -70,10 +70,11 @@ private:
int body_shape;
int area_shape;
bool operator<(const ShapePair &p_sp) const {
- if (body_shape == p_sp.body_shape)
+ if (body_shape == p_sp.body_shape) {
return area_shape < p_sp.area_shape;
- else
+ } else {
return body_shape < p_sp.body_shape;
+ }
}
ShapePair() {}
@@ -100,10 +101,11 @@ private:
int area_shape;
int self_shape;
bool operator<(const AreaShapePair &p_sp) const {
- if (area_shape == p_sp.area_shape)
+ if (area_shape == p_sp.area_shape) {
return self_shape < p_sp.self_shape;
- else
+ } else {
return area_shape < p_sp.area_shape;
+ }
}
AreaShapePair() {}