Update 3D physics to match fix from #22933

This commit is contained in:
Juan Linietsky 2018-11-01 12:40:20 -03:00
parent e52b439eaa
commit b776049b83
1 changed files with 2 additions and 2 deletions

View File

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