diff --git a/rogueviz/magiccube.cpp b/rogueviz/magiccube.cpp index 5a254c9c..3d5d819e 100644 --- a/rogueviz/magiccube.cpp +++ b/rogueviz/magiccube.cpp @@ -26,8 +26,10 @@ void build(crystal::coord co, int at) { setdist(c, 7, NULL); if(twos == 0) c->landparam = back; - else if(twos == 1) + else if(twos == 1) { c->landparam = magiccolors[index]; + if(WDIM == 3) c->wall = waWaxWall; + } println(hlog, co, " twos = ", twos, " index = ", index, " set = ", format("%06X", c->landparam)); @@ -63,6 +65,10 @@ bool magic_markers(cell *c, const transmatrix& V) { if(vizid != &magic) return false; timerghost = false; if(c->landparam == back) { + if(GDIM == 2) { + auto co = crystal::get_coord(c->master); + for(int a=0; a= 6 || co[a] <= -6) c->landparam = 0; + } if(GDIM == 2) for(int i=0; imove(i); @@ -135,6 +141,7 @@ bool magic_rotate(cell *c) { for(int i=0; i