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:
parent
d3fa8a6c2a
commit
f86670ec19
@ -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);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user