mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-26 00:47:00 +00:00
fixed a crash in Archimedean sl2 due to Cdata
This commit is contained in:
parent
f6f37b1e45
commit
46dfd50a40
2
cell.cpp
2
cell.cpp
@ -912,7 +912,7 @@ EX int getBits(cell *c) {
|
||||
if(masterless) return getEuclidCdata(decodeId(c->master))->bits;
|
||||
else if(archimedean && euclid)
|
||||
return getEuclidCdata(pseudocoords(c))->bits;
|
||||
else if(archimedean && hyperbolic)
|
||||
else if(archimedean && (hyperbolic || sl2))
|
||||
return arcmCdata(c)->bits;
|
||||
else if(!geometry_supports_cdata()) return 0;
|
||||
else if(c == c->master->c7) return getHeptagonCdata(c->master)->bits;
|
||||
|
Loading…
Reference in New Issue
Block a user