From f86670ec190630582a4f6d476197099e53358afe Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sat, 16 Apr 2022 13:59:03 +0200 Subject: [PATCH] fixed freezes on VirtualRebase in Nil portal spaces --- geometry2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geometry2.cpp b/geometry2.cpp index 7724ceb4..0fd07762 100644 --- a/geometry2.cpp +++ b/geometry2.cpp @@ -313,7 +313,7 @@ void virtualRebase(cell*& base, T& at, const U& check) { if(nil) { hyperpoint h = check(at); auto step = [&] (int i) { - at = currentmap->iadj(base, i) * at; + at = currentmap->adj(base, (i+S7/2) % S7) * at; base = base->cmove(i); h = check(at); };