mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Update src/serverenvironment.cpp
Co-authored-by: sfan5 <sfan5@live.de>
This commit is contained in:
parent
05513467b6
commit
1f9a3b5875
1 changed files with 0 additions and 1 deletions
|
@ -59,7 +59,6 @@ static void fillRadiusBlock(v3s16 p0, s16 r, std::set<v3s16> &list)
|
||||||
for(p.Z=p0.Z-r; p.Z<=p0.Z+r; p.Z++) {
|
for(p.Z=p0.Z-r; p.Z<=p0.Z+r; p.Z++) {
|
||||||
// limit to a sphere
|
// limit to a sphere
|
||||||
if (p.getDistanceFrom(p0) <= r) {
|
if (p.getDistanceFrom(p0) <= r) {
|
||||||
// Set in list
|
|
||||||
list.insert(p);
|
list.insert(p);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue