From 4e3c72551aca9538aadeecf8aef858c18151abc7 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Thu, 15 Dec 2022 09:59:02 +0100 Subject: [PATCH] fixed random walls to appear in embedded_plane --- landgen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/landgen.cpp b/landgen.cpp index 724056d4..a8868c34 100644 --- a/landgen.cpp +++ b/landgen.cpp @@ -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