aboutsummaryrefslogtreecommitdiff
path: root/src/environment.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/environment.h')
-rw-r--r--src/environment.h6
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;