in canvas land, walls are generated if GDIM==3, not only if WDIM==3

This commit is contained in:
Zeno Rogue 2020-06-03 15:45:25 +02:00
parent b34af64efd
commit 8443095d47
1 changed files with 1 additions and 1 deletions

View File

@ -2859,7 +2859,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(WDIM == 3 && (col & 0x1000000)) c->wall = waWaxWall;
if(GDIM == 3 && (col & 0x1000000)) c->wall = waWaxWall;
}
#if CAP_FIELD