1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-12 03:33:00 +00:00

color change in rogueviz

This commit is contained in:
Zeno Rogue
2024-05-05 20:20:00 +02:00
parent ce825db2c0
commit 43a3e8f030
14 changed files with 52 additions and 63 deletions

View File

@@ -1097,7 +1097,7 @@ namespace sag {
create_viz();
for(int i=0; i<DN; i++) {
color_t col = patterns::compute_cell_color(sagcells[sagid[i]]);
color_t col = ccolor::formula.f(sagcells[sagid[i]], ccolor::formula);
col <<= 8;
col |= 0xFF;
vdata[i].cp.color1 = vdata[i].cp.color2 = col;