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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user