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

fixed the three-coloring of bitruncated {4,4}

This commit is contained in:
Zeno Rogue
2025-10-09 22:01:06 +02:00
parent 2fd837b650
commit 12e3150a40

View File

@@ -1369,6 +1369,7 @@ EX int pattern_threecolor(cell *c) {
}
if(meuclid) {
if(a4 && PURE) return eupattern4(c);
if(a4 && BITRUNCATED) return eupattern4(c) % 3;
if(euc::in(2,6) && !BITRUNCATED) return eupattern(c) % 3;
return c == c->master->c7 ? 0 : (c->c.spin(0)&1) ? 1 : 2;
}