mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-18 15:00:26 +00:00
fixed GP on Crystal
This commit is contained in:
parent
46c154e6d2
commit
21639feb91
@ -627,7 +627,7 @@ struct hrmap_crystal : hrmap_standard {
|
||||
map<int, transmatrix> adjs;
|
||||
|
||||
transmatrix adj(heptagon *h, int d) override {
|
||||
if(!crystal3()) return adj(h->c7, d);
|
||||
if(!crystal3()) return hrmap_standard::adj(h, d);
|
||||
auto co = hcoords[h];
|
||||
int id = 0;
|
||||
for(int a=0; a<S7/2; a++) id = (2*id) + ((co[a]>>1) & 1);
|
||||
|
Loading…
Reference in New Issue
Block a user