mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-22 20:14:05 +00:00
improvements to patterns; codenumbers also display directions
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
// rules for the emeraldvalues of heptagons.
|
||||
int emerald_heptagon(int parent, int dir) {
|
||||
|
||||
if(a46) return parent ^ (dir & 1) ^ 2;
|
||||
if(a46) return parent ^ (dir & 1) ^ 2 ^ (((parent^dir) & 1) << 2);
|
||||
|
||||
if(S7 == 8 && dir > 3) dir--;
|
||||
|
||||
|
Reference in New Issue
Block a user