mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-23 07:27:07 +00:00
createMov: bitruncation works on non-orientable with S7%2 == 0
This commit is contained in:
parent
7e8ede4bd6
commit
0cb93afad7
4
cell.cpp
4
cell.cpp
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user