diff --git a/bigstuff.cpp b/bigstuff.cpp index 53cbd52b..4a52bd7e 100644 --- a/bigstuff.cpp +++ b/bigstuff.cpp @@ -1343,7 +1343,7 @@ void moreBigStuff(cell *c) { c->land = laTemple, c->wall = waNone, c->monst = moNone, c->item = itNone; } if(d % TEMPLE_EACH==0) { - if(binarytiling && DIM == 3) { + if(DIM == 3) { if(c->master->zebraval != 1) c->wall = waColumn; } else if(weirdhyperbolic && !BITRUNCATED) { diff --git a/euclid.cpp b/euclid.cpp index 02ea1628..40b78814 100644 --- a/euclid.cpp +++ b/euclid.cpp @@ -473,6 +473,8 @@ namespace euclid3 { static const long long COORDMAX = (1<<16); + int getcoord(coord x, int a); + struct hrmap_euclid3 : hrmap { map spacemap; map ispacemap; @@ -491,6 +493,7 @@ namespace euclid3 { h->c7 = newCell(6, h); h->distance = 0; h->cdata = NULL; + h->zebraval = gmod(getcoord(at, 0) + getcoord(at, 1) * 2 + getcoord(at, 2) * 4, 5); spacemap[at] = h; ispacemap[h] = at; return h; diff --git a/hyper.h b/hyper.h index 1b37134f..a1e6290a 100644 --- a/hyper.h +++ b/hyper.h @@ -1518,7 +1518,7 @@ bool bearsCamelot(eLand l); extern bool safety; #define SAGEMELT .1 -#define TEMPLE_EACH (DIM == 3 ? 2 : 6) +#define TEMPLE_EACH ((DIM == 3 && hyperbolic) ? 2 : 6) #define PT(x, y) ((tactic::on || quotient == 2 || daily::on) ? (y) : inv::on ? min(2*(y),x) : (x)) #define ROCKSNAKELENGTH 50 #define WORMLENGTH 15