1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-08 06:59:55 +00:00

fixed mtwisted nil

This commit is contained in:
Zeno Rogue 2024-06-21 13:46:45 +02:00
parent 9349d08117
commit 83a2168fc1

View File

@ -1342,8 +1342,8 @@ EX namespace hybrid {
auto& v = get_shift_current(cw0);
if(v != SHIFT_UNKNOWN) return v;
if(nil) return in_underlying([&] { return get_shift(cw0); });
if(euclid && !quotient) {
/** note: will not be done in fix_bounded_cycles because then it is already called in underlying map, but that is fine */
if(nil) {
/** we prevent possible 'two candidate' errors by computing the correct value, we know all the positions in the underlying map, so we can do that */
transmatrix uT, uU, uT1;
in_underlying([&] {