1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-13 13:47:37 +00:00

in 3D geometries, patterns may create walls

This commit is contained in:
Zeno Rogue
2019-10-06 13:03:21 +02:00
parent f0ca277b10
commit 9850dd557e
3 changed files with 29 additions and 15 deletions

View File

@@ -2663,9 +2663,11 @@ EX void setdist(cell *c, int d, cell *from) {
}
if(d == BARLEV && c->land == laCanvas) {
c->landparam = patterns::generateCanvas(c);
color_t col = patterns::generateCanvas(c);
c->landparam = col;
if(canvas_invisible)
c->wall = waInvisibleFloor;
if(WDIM == 3 && (col & 0x1000000)) c->wall = waWaxWall;
}
#if CAP_FIELD