mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 00:55:20 +02:00
Update client::ActiveObjectMgr::getActiveSelectableObjects API
This commit is contained in:
@@ -495,8 +495,7 @@ void ClientEnvironment::getSelectedActiveObjects(
|
||||
const core::line3d<f32> &shootline_on_map,
|
||||
std::vector<PointedThing> &objects)
|
||||
{
|
||||
std::vector<DistanceSortedActiveObject> allObjects;
|
||||
m_ao_manager.getActiveSelectableObjects(shootline_on_map, allObjects);
|
||||
auto allObjects = m_ao_manager.getActiveSelectableObjects(shootline_on_map);
|
||||
const v3f line_vector = shootline_on_map.getVector();
|
||||
|
||||
for (const auto &allObject : allObjects) {
|
||||
|
Reference in New Issue
Block a user