Implemented tangible.find. Octrees are more or less done! Yay!

This commit is contained in:
2022-07-14 00:57:11 -04:00
parent 69efb12c26
commit 4735c1fd7d
6 changed files with 466 additions and 114 deletions

View File

@@ -235,7 +235,7 @@ util::IdVector World::get_near(int64_t player_id, float radius, bool exclude_now
scan.set_shape(PlaneScan::SPHERE);
scan.set_sorted(sorted);
scan.set_omit_nowhere(exclude_nowhere);
scan.set_special(player_id, omit_player);
scan.set_near(player_id, !omit_player);
return plane_map_.scan(scan);
}