1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 21:07:17 +00:00

fixed a crash in S^3

This commit is contained in:
Zeno Rogue 2020-02-07 19:45:20 +01:00
parent 1acfe8becb
commit 81ad14061b

View File

@ -618,7 +618,7 @@ EX namespace reg3 {
quotient_map = new hrmap_field3(&currfp);
}
#endif
h.zebraval = quotient_map->allh[0]->zebraval;
h.zebraval = quotient_map ? quotient_map->allh[0]->zebraval : 0;
if(hyperbolic) {
dynamicval<eGeometry> g(geometry, gBinary3);