1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-20 23:50:27 +00:00

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

View File

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