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:
parent
3ca75bec8e
commit
4f761c70cb
@ -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
|
||||
|
@ -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(); };
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user