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:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user