summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Linietsky <juan@godotengine.org>2018-11-01 12:40:20 -0300
committerJuan Linietsky <juan@godotengine.org>2018-11-01 12:40:20 -0300
commitb776049b83960c37d4616364346c510068f2852d (patch)
tree439c6d31f440bcc8d64604418aae19b7fdbdab77
parente52b439eaa1a06e7af8b157c10b435481e2c9c88 (diff)
Update 3D physics to match fix from #22933
-rw-r--r--servers/physics/area_pair_sw.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/servers/physics/area_pair_sw.cpp b/servers/physics/area_pair_sw.cpp
index d2fef0ab77..5e295edcd1 100644
--- a/servers/physics/area_pair_sw.cpp
+++ b/servers/physics/area_pair_sw.cpp
@@ -147,10 +147,10 @@ Area2PairSW::~Area2PairSW() {
if (colliding) {
- if (area_b->has_area_monitor_callback() && area_a->is_monitorable())
+ if (area_b->has_area_monitor_callback())
area_b->remove_area_from_query(area_a, shape_a, shape_b);
- if (area_a->has_area_monitor_callback() && area_b->is_monitorable())
+ if (area_a->has_area_monitor_callback())
area_a->remove_area_from_query(area_b, shape_b, shape_a);
}