From 5fd524fa625a7d7b0de13ae4047e245e0afdcce7 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Thu, 21 Dec 2017 16:34:26 +0100 Subject: [PATCH] fixed the threecolor pattern for octagons --- pattern2.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pattern2.cpp b/pattern2.cpp index 6f2837ae..b4b64552 100644 --- a/pattern2.cpp +++ b/pattern2.cpp @@ -899,10 +899,8 @@ int geosupport_graveyard() { int pattern_threecolor(cell *c) { if(a38) { patterns::patterninfo si; - patterns::val38(c, si, 0, patterns::PAT_COLORING); - int i = si.id; - if(nontruncated) return i; - else return i < 4 ? 0 : (1+(i&1)); + patterns::val38(c, si, patterns::SPF_ROT, patterns::PAT_COLORING); + return si.id >> 2; } if(a46 && !nontruncated) { patterns::patterninfo si;