1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 17:10:36 +00:00

fixed eupattern in EuclidA4

This commit is contained in:
Zeno Rogue 2017-12-18 21:33:11 +01:00
parent 51cd3c81aa
commit 1c3f8ac36a

View File

@ -7,7 +7,7 @@ int eupattern(cell *c) {
if(torus) return (decodeId(c->master)*2) % 3;
eucoord x, y;
decodeMaster(c->master, x, y);
return ((x&1) - (y&1)) % 3;
return ((x&1) + 2*(y&1)) % 3;
}
if(torus) return (decodeId(c->master)*2) % 3;
eucoord x, y;