mirror of
https://github.com/luanti-org/luanti.git
synced 2025-11-28 11:45:29 +01:00
Make line_of_sight return blocking node position
This commit is contained in:
@@ -295,7 +295,7 @@ public:
|
||||
void step(f32 dtime);
|
||||
|
||||
//check if there's a line of sight between two positions
|
||||
bool line_of_sight(v3f pos1, v3f pos2, float stepsize=1.0);
|
||||
bool line_of_sight(v3f pos1, v3f pos2, float stepsize=1.0, v3s16 *p=NULL);
|
||||
|
||||
u32 getGameTime() { return m_game_time; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user