projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24b6bd0
)
Cavegen: Allow small RandomWalk caves to generate beyond mapchunk border
author
Paramat
<paramat@users.noreply.github.com>
Fri, 4 May 2018 17:22:56 +0000
(18:22 +0100)
committer
GitHub
<noreply@github.com>
Fri, 4 May 2018 17:22:56 +0000
(18:22 +0100)
src/mapgen/cavegen.cpp
patch
|
blob
|
history
diff --git
a/src/mapgen/cavegen.cpp
b/src/mapgen/cavegen.cpp
index 60aefb14dfe80e29df3246006f6101cd178a73c0..363219f6d6af5b5540a622ac3acebcbcdab46583 100644
(file)
--- a/
src/mapgen/cavegen.cpp
+++ b/
src/mapgen/cavegen.cpp
@@
-569,9
+569,6
@@
void CavesRandomWalk::carveRoute(v3f vec, float f, bool randomize_xz)
else
vm->m_data[i] = airnode;
} else {
- if (c == CONTENT_IGNORE)
- continue;
-
vm->m_data[i] = airnode;
vm->m_flags[i] |= VMANIP_FLAG_CAVE;
}
@@
-874,7
+871,7
@@
void CavesV6::carveRoute(v3f vec, float f, bool randomize_xz,
vm->m_data[i] = airnode;
}
} else {
- if (c == CONTENT_
IGNORE || c == CONTENT_
AIR)
+ if (c == CONTENT_AIR)
continue;
vm->m_data[i] = airnode;