mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-12 16:58:39 +00:00
Update client::ActiveObjectMgr::getActiveSelectableObjects API
This commit is contained in:
parent
aaae9d5a77
commit
d7291e0600
3 changed files with 9 additions and 11 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue