aboutsummaryrefslogtreecommitdiff
path: root/src/utility.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/utility.h')
-rw-r--r--src/utility.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/utility.h b/src/utility.h
index e6e72efcf..a24b57d5d 100644
--- a/src/utility.h
+++ b/src/utility.h
@@ -1663,7 +1663,8 @@ private:
Miscellaneous functions
*/
-bool isBlockInSight(v3s16 blockpos_b, v3f camera_pos, v3f camera_dir, f32 range);
+bool isBlockInSight(v3s16 blockpos_b, v3f camera_pos, v3f camera_dir, f32 range,
+ f32 *distance_ptr=NULL);
/*
Queue with unique values with fast checking of value existence