diff --git a/game.cpp b/game.cpp index 41cfea4c..5799179d 100644 --- a/game.cpp +++ b/game.cpp @@ -3337,6 +3337,8 @@ bool makeEmpty(cell *c) { c->wall = waBoat; else if(c->wall == waFreshGrave && bounded) ; + else if(c->wall == waBarrier && sphere && DIM == 3) + ; else if(isReptile(c->wall)) c->wparam = reptilemax(); else if(c->wall == waAncientGrave && bounded) diff --git a/pattern2.cpp b/pattern2.cpp index 3f324189..ab998b0f 100644 --- a/pattern2.cpp +++ b/pattern2.cpp @@ -449,6 +449,10 @@ int getHemisphere(heptagon *h, int which) { int getHemisphere(cell *c, int which) { if(euwrap) return 0; + if(DIM == 3) { + ld z = sphere3::vertices120[c->master->zebraval][which]; + return int(z * 6 + 10.5) - 10; + } if(which == 0 && GOLDBERG && has_nice_dual()) { set visited; vector q;