1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-12 07:16:01 +00:00

more pattern editing for g46

This commit is contained in:
Zeno Rogue
2017-12-03 12:59:57 +01:00
parent 3b7ab293ba
commit c5324ff2f5
4 changed files with 18 additions and 6 deletions

View File

@@ -7,7 +7,7 @@
// rules for the emeraldvalues of heptagons.
int emerald_heptagon(int parent, int dir) {
if(a46) return (parent+dir)&1;
if(a46) return parent ^ (dir & 1) ^ 2;
if(S7 == 8 && dir > 3) dir--;