projects
/
oweals
/
minetest.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Tune caves
[oweals/minetest.git]
/
src
/
utility.cpp
diff --git
a/src/utility.cpp
b/src/utility.cpp
index 06b60884f8b547485e8ec8426eeb65f0d7398251..7c87b9ae4f06e326279c20ac0d31a030964ba724 100644
(file)
--- a/
src/utility.cpp
+++ b/
src/utility.cpp
@@
-208,7
+208,7
@@
bool isBlockInSight(v3s16 blockpos_b, v3f camera_pos, v3f camera_dir,
return true;
// If block is far away, it's not in sight
- if(d > range
* BS
)
+ if(d > range)
return false;
// Maximum radius of a block