16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-17 22:39:17 +02:00

Fix C26478

This commit is contained in:
docentYT
2026-05-12 18:21:52 +02:00
parent 81eadbef73
commit 4fa148e230

View File

@@ -25,7 +25,7 @@ map::sorted_object_list map::objects::find_in_range(glm::vec3 from, float distan
float dist = glm::distance2(entry_location, search_point);
if (dist < max_distance2)
{
items.emplace(dist, std::move(entry));
items.emplace(dist, entry);
}
}