1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-17 23:17:39 +00:00

mapeditor:: canvas_default_wall can be set now

This commit is contained in:
Zeno Rogue
2020-01-28 16:42:07 +01:00
parent fa64573971
commit 27e19ca5ca
4 changed files with 16 additions and 8 deletions

View File

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