ccolor:: live_canvas feature

This commit is contained in:
Zeno Rogue committed 2024-05-27 14:20:54 +02:00
1 parent 4f761c70cb
commit bfacda7207
3 files changed
+12 -13

No files matched your search

+6
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) {