fixed random walls to appear in embedded_plane

This commit is contained in:
Zeno Rogue 2022-12-15 09:59:02 +01:00
parent 62ffefc0cc
commit 4e3c72551a
1 changed files with 1 additions and 1 deletions

View File

@ -2926,7 +2926,7 @@ EX void setdist(cell *c, int d, cell *from) {
color_t col = patterns::generateCanvas(c);
c->landparam = col;
c->wall = canvas_default_wall;
if(GDIM == 3 && (col & 0x1000000)) c->wall = waWaxWall;
if((GDIM == 3 || geom3::flipped) && (col & 0x1000000)) c->wall = waWaxWall;
}
#if CAP_FIELD