mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-20 15:40:26 +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) {
|
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);
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user