PlaneMap::scan is now working, with unit tests.
This commit is contained in:
@@ -232,7 +232,7 @@ util::IdVector World::get_near(int64_t player_id, float radius, bool exclude_now
|
||||
PlaneScan scan;
|
||||
scan.set_plane(aqback.plane());
|
||||
scan.set_bbox_given_center_radius(aqback.xyz(), radius);
|
||||
scan.set_shape(PlaneScan::SPHEROID);
|
||||
scan.set_shape(PlaneScan::SPHERE);
|
||||
scan.set_sorted(sorted);
|
||||
scan.set_omit_nowhere(exclude_nowhere);
|
||||
scan.set_special(player_id, omit_player);
|
||||
|
||||
Reference in New Issue
Block a user