1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-15 18:00:04 +00:00

fixed GP on Crystal

This commit is contained in:
Zeno Rogue 2021-05-30 10:54:37 +02:00
parent 46c154e6d2
commit 21639feb91

View File

@ -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);