diff options
Diffstat (limited to 'src/environment.h')
-rw-r--r-- | src/environment.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/environment.h b/src/environment.h index b4159372a..9532271bb 100644 --- a/src/environment.h +++ b/src/environment.h @@ -211,7 +211,11 @@ public: void removeActiveObject(u16 id); void processActiveObjectMessage(u16 id, const std::string &data); - + + // Get all nearby objects + void getActiveObjects(v3f origin, f32 max_d, + core::array<DistanceSortedActiveObject> &dest); + private: ClientMap *m_map; scene::ISceneManager *m_smgr; |