mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-22 08:10:40 +00:00
fixed a crash when 'drawing underlying tree' in crystal3
This commit is contained in:
parent
c6f2391033
commit
aa2cf6dbf5
@ -626,6 +626,7 @@ struct hrmap_crystal : hrmap_standard {
|
||||
map<int, transmatrix> adjs;
|
||||
|
||||
transmatrix adj(heptagon *h, int d) override {
|
||||
if(!crystal3()) return adj(h->c7, 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