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

mirrors now flip Alchemist Lab colors (may be a bit unpredictable in minimal quotient)

This commit is contained in:
Zeno Rogue
2022-04-26 14:42:07 +02:00
parent 49d7ab3ed3
commit 7adb3dac5a
5 changed files with 39 additions and 15 deletions

View File

@@ -502,6 +502,8 @@ void celldrawer::setcolors() {
}
case waFloorA: case waFloorB: // isAlch
wcol = winf[conditional_flip_slime(det(V.T) < 0, c->wall)].color;
if(c->item && !(history::includeHistory && history::infindhistory.count(c)))
fcol = wcol = iinf[c->item].color;
else
@@ -2422,7 +2424,7 @@ void celldrawer::draw_monster_full() {
moncol >>= 1;
if(c->monst == moSlime) {
moncol = winf[c->wall].color;
moncol = winf[conditional_flip_slime(det(V.T) < 0, c->wall)].color;
moncol |= (moncol>>1);
}