1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-27 20:07:40 +00:00

ccolor:: live_canvas feature

This commit is contained in:
Zeno Rogue
2024-05-27 13:37:18 +02:00
parent 4f761c70cb
commit bfacda7207
3 changed files with 12 additions and 13 deletions

View File

@@ -744,6 +744,12 @@ EX void checkTide(cell *c) {
else if(c->wall == waMagma) c->wall = waNone;
}
#endif
if(c->land == laCanvas && ccolor::live_canvas) {
color_t col = ccolor::generateCanvas(c);
c->landparam = col;
c->wall = canvas_default_wall;
if(col & 0x1000000) c->wall = waWaxWall;
}
}
EX bool makeNoMonster(cell *c) {