From 8443095d47d79f159cae6adf95233df57a94db7d Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Wed, 3 Jun 2020 15:45:25 +0200 Subject: [PATCH] in canvas land, walls are generated if GDIM==3, not only if WDIM==3 --- landgen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/landgen.cpp b/landgen.cpp index 393da19b..93a83b60 100644 --- a/landgen.cpp +++ b/landgen.cpp @@ -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