mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 17:10:36 +00:00
pseudohept in Field534
This commit is contained in:
parent
ac7c902f0b
commit
7e65ea23ea
@ -1297,7 +1297,7 @@ bool pseudohept(cell *c) {
|
||||
#endif
|
||||
#if MAXMDIM == 4
|
||||
if(DIM == 3) {
|
||||
if(quotient) return false;
|
||||
if(geometry == gField435) return false;
|
||||
else if(euclid) return euclid3::pseudohept(c);
|
||||
else return reg3::pseudohept(c);
|
||||
}
|
||||
|
2
reg3.cpp
2
reg3.cpp
@ -827,6 +827,8 @@ bool pseudohept(cell *c) {
|
||||
// chessboard pattern in 534
|
||||
if(geometry == gSpace534)
|
||||
return c->master->distance & 1;
|
||||
if(geometry == gField534)
|
||||
return hr::celldistance(c, currentmap->gamestart()) & 1;
|
||||
if(hyperbolic) {
|
||||
heptagon *h = m->reg_gmatrix[c->master].first;
|
||||
return (h->zebraval == 1) && (h->distance & 1);
|
||||
|
Loading…
Reference in New Issue
Block a user