1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 21:07:17 +00:00

fixed the threecolor pattern for octagons

This commit is contained in:
Zeno Rogue 2017-12-21 16:34:26 +01:00
parent 45d267c046
commit 5fd524fa62

View File

@ -899,10 +899,8 @@ int geosupport_graveyard() {
int pattern_threecolor(cell *c) { int pattern_threecolor(cell *c) {
if(a38) { if(a38) {
patterns::patterninfo si; patterns::patterninfo si;
patterns::val38(c, si, 0, patterns::PAT_COLORING); patterns::val38(c, si, patterns::SPF_ROT, patterns::PAT_COLORING);
int i = si.id; return si.id >> 2;
if(nontruncated) return i;
else return i < 4 ? 0 : (1+(i&1));
} }
if(a46 && !nontruncated) { if(a46 && !nontruncated) {
patterns::patterninfo si; patterns::patterninfo si;