mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-17 17:08:39 +00:00
Remove dead code (#10845)
This commit is contained in:
parent
67aa75d444
commit
4c76239818
31 changed files with 8 additions and 331 deletions
|
@ -190,14 +190,6 @@ enum ClearObjectsMode {
|
|||
CLEAR_OBJECTS_MODE_QUICK,
|
||||
};
|
||||
|
||||
/*
|
||||
The server-side environment.
|
||||
|
||||
This is not thread-safe. Server uses an environment mutex.
|
||||
*/
|
||||
|
||||
typedef std::unordered_map<u16, ServerActiveObject *> ServerActiveObjectMap;
|
||||
|
||||
class ServerEnvironment : public Environment
|
||||
{
|
||||
public:
|
||||
|
@ -331,7 +323,7 @@ public:
|
|||
{
|
||||
return m_ao_manager.getObjectsInsideRadius(pos, radius, objects, include_obj_cb);
|
||||
}
|
||||
|
||||
|
||||
// Find all active objects inside a box
|
||||
void getObjectsInArea(std::vector<ServerActiveObject *> &objects, const aabb3f &box,
|
||||
std::function<bool(ServerActiveObject *obj)> include_obj_cb)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue