1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-29 19:40:35 +00:00

fixed freezes on VirtualRebase in Nil portal spaces

This commit is contained in:
Zeno Rogue 2022-04-16 13:59:03 +02:00
parent d3fa8a6c2a
commit f86670ec19

View File

@ -313,7 +313,7 @@ void virtualRebase(cell*& base, T& at, const U& check) {
if(nil) { if(nil) {
hyperpoint h = check(at); hyperpoint h = check(at);
auto step = [&] (int i) { auto step = [&] (int i) {
at = currentmap->iadj(base, i) * at; at = currentmap->adj(base, (i+S7/2) % S7) * at;
base = base->cmove(i); base = base->cmove(i);
h = check(at); h = check(at);
}; };