createMov: bitruncation works on non-orientable with S7%2 == 0

This commit is contained in:
Zeno Rogue 2019-11-27 00:40:46 +01:00
parent 7e8ede4bd6
commit 0cb93afad7
1 changed files with 2 additions and 2 deletions

View File

@ -237,9 +237,9 @@ EX cell *createMov(cell *c, int d) {
int alt4 = alt3+1;
for(int u=0; u<S6; u+=2) {
if(hs.mirrored && geometry == gSmallElliptic) hs+=1;
if(hs.mirrored && (S7%2 == 0)) hs++;
hs.at->c7->c.connect(hs.spin, n, u, hs.mirrored);
if(hs.mirrored && geometry == gSmallElliptic) hs+=-1;
if(hs.mirrored && (S7%2 == 0)) hs--;
hs = hs + alt3 + wstep - alt4;
}
extern void verifycell(cell *c);