diff options
Diffstat (limited to 'src/client.h')
-rw-r--r-- | src/client.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/client.h b/src/client.h index 611116d45..0616cc914 100644 --- a/src/client.h +++ b/src/client.h @@ -316,6 +316,14 @@ public: core::line3d<f32> shootline_on_map ); + // Gets closest object pointed by the shootline + // Returns NULL if not found + ClientActiveObject * getSelectedActiveObject( + f32 max_d, + v3f from_pos_f_on_map, + core::line3d<f32> shootline_on_map + ); + // Prints a line or two of info void printDebugInfo(std::ostream &os); |