mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-18 15:00:26 +00:00
fixed missing fix_distances
This commit is contained in:
parent
64671ec83e
commit
044298d0bd
2
reg3.cpp
2
reg3.cpp
@ -668,6 +668,7 @@ namespace reg3 {
|
||||
#if CAP_FIELD
|
||||
if(hyperbolic) {
|
||||
p2.first->c.connect(counterpart(parent)->c.spin(d), parent, d, false);
|
||||
fix_distances(p2.first, parent);
|
||||
return p2.first;
|
||||
}
|
||||
#endif
|
||||
@ -749,6 +750,7 @@ namespace reg3 {
|
||||
altdist(hs.at) = altdist(h) - 1;
|
||||
hs.at->alt = h->alt;
|
||||
reducers[hs.at] = hs.spin;
|
||||
fix_distances(hs.at, NULL);
|
||||
}
|
||||
for(int i=0; i<S7; i++) {
|
||||
auto h2 = h->cmove(i);
|
||||
|
Loading…
Reference in New Issue
Block a user