From 45c44408ce2fcff5052c9a57d885d0b6b204cf24 Mon Sep 17 00:00:00 2001 From: Kae <80987908+Novaenia@users.noreply.github.com> Date: Sat, 1 Jul 2023 07:30:30 +1000 Subject: [PATCH] Update StarInspectionTool.cpp --- source/game/items/StarInspectionTool.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/game/items/StarInspectionTool.cpp b/source/game/items/StarInspectionTool.cpp index f3e9586..dc16f64 100644 --- a/source/game/items/StarInspectionTool.cpp +++ b/source/game/items/StarInspectionTool.cpp @@ -132,7 +132,7 @@ InspectionTool::InspectionResult InspectionTool::inspect(Vec2F const& position) WorldGeometry geometry = world()->geometry(); - for (auto& entity : world()->query(RectF::withCenter(position, Vec2F::filled(FLT_EPSILON)), [&](InspectableEntityPtr const& entity) { + for (auto& entity : world()->query(RectF::withCenter(position, Vec2F()), [&](InspectableEntityPtr const& entity) { if (entity->entityType() == EntityType::Object) return false; else if (!geometry.rectContains(entity->metaBoundBox().translated(entity->position()), position))