do not do walls if walls not implemented

This commit is contained in:
Zeno Rogue
2019-10-12 13:47:41 +02:00
parent ad15ecf3e6
commit 7246605329
5 changed files with 15 additions and 2 deletions
+6
View File
@@ -1371,6 +1371,10 @@ EX bool good_for_wall(cell *c) {
if(WDIM == 3) return true;
return pseudohept(c);
}
EX bool walls_not_implemented() {
return WDIM == 3 && (cgflags & qIDEAL);
}
EX void buildBigStuff(cell *c, cell *from) {
if(sphere || quotient || nonisotropic || (penrose && !binarytiling) || experimental) return;
@@ -1383,6 +1387,8 @@ EX void buildBigStuff(cell *c, cell *from) {
if(hybri) ; /* Great Walls generated via the underlying geometry */
else if(walls_not_implemented()); // walls not implemented here
else if(geometry == gNormal && celldist(c) < 3 && !GOLDBERG) {
if(top_land && c == cwt.at->master->move(3)->c7) {
buildBarrierStrong(c, 6, true, top_land);