mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-10-21 00:22:29 +00:00
do not do walls if walls not implemented
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user