summaryrefslogtreecommitdiff
path: root/servers/physics_2d/area_2d_sw.h
diff options
context:
space:
mode:
Diffstat (limited to 'servers/physics_2d/area_2d_sw.h')
-rw-r--r--servers/physics_2d/area_2d_sw.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/physics_2d/area_2d_sw.h b/servers/physics_2d/area_2d_sw.h
index 51e6ccd166..0eda1050fa 100644
--- a/servers/physics_2d/area_2d_sw.h
+++ b/servers/physics_2d/area_2d_sw.h
@@ -71,7 +71,7 @@ class Area2DSW : public CollisionObject2DSW{
return area_shape < p_key.area_shape;
} else
- return body_shape < p_key.area_shape;
+ return body_shape < p_key.body_shape;
} else
return rid < p_key.rid;