1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-20 11:54:48 +00:00

gp(1,1) now works with non-orientable S3==4

This commit is contained in:
Zeno Rogue 2021-09-30 12:05:16 +02:00
parent 70c0fb1c7a
commit aeb889119d

View File

@ -355,6 +355,10 @@ EX namespace gp {
}
if(S3 == 4 && param == loc(1,1)) {
if(ac1.cw.mirrored != hs.mirrored) ac1.cw--;
if(ac2.cw.mirrored != hs.mirrored) ac2.cw--;
auto& ac3 = get_mapping(vc[2]);
if(ac3.cw.mirrored != hs.mirrored) ac3.cw--;
conn(loc(0,0), 1);
conn(loc(0,1), 0);
conn(loc(0,1), 1);