1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-19 11:44:48 +00:00

Wax walls in Canvas now not only in 3D

This commit is contained in:
Zeno Rogue 2024-05-27 13:36:42 +02:00
parent 3ca75bec8e
commit 4f761c70cb
2 changed files with 1 additions and 2 deletions

View File

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

View File

@ -1567,7 +1567,6 @@ EX namespace ccolor {
EX int rwalls = 50;
EX void edit_rwalls() {
if(WDIM == 2) return;
dialog::editNumber(rwalls, 0, 100, 10, 50, XLAT("probability of a wall (%)"), "");
dialog::get_di().reaction = [] { stop_game(); start_game(); };
}