Skip to content

Commit

Permalink
Update 3D physics to match fix from #22933
Browse files Browse the repository at this point in the history
  • Loading branch information
reduz committed Nov 1, 2018
1 parent e52b439 commit b776049
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions servers/physics/area_pair_sw.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit b776049

Please sign in to comment.