From 970d0c469927251f1063814b972ef9d46f66c7a4 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Tue, 28 Jan 2020 10:28:11 +0100 Subject: [PATCH] fixed the trivial generation of Camelot in {even,x} tilings --- bigstuff.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bigstuff.cpp b/bigstuff.cpp index 54adbf33..a140d481 100644 --- a/bigstuff.cpp +++ b/bigstuff.cpp @@ -230,6 +230,9 @@ EX heptagon *createAlternateMap(cell *c, int rad, hstate firststate, int special if(!weirdhyperbolic && !(checkBarriersFront(bb) && checkBarriersBack(bb))) { return NULL; } + + int flip = 0; + if(WDIM == 2 && S7 % 2 == 0) flip = hrand(2) ? 1 : -1; // okay, let's go then! cellwalker bf(c, gdir); @@ -237,6 +240,7 @@ EX heptagon *createAlternateMap(cell *c, int rad, hstate firststate, int special for(int i=0; imaster;