mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-20 15:40:26 +00:00
reg3:: fixed a bug in link_alt
This commit is contained in:
parent
bdfe78eaf5
commit
64947fe456
2
reg3.cpp
2
reg3.cpp
@ -2104,7 +2104,7 @@ bool hrmap_h3_rule::link_alt(heptagon *h, heptagon *alt, hstate firststate, int
|
||||
vector<int> choices2;
|
||||
for(auto c: choices) {
|
||||
bool ok = true;
|
||||
for(int d=0; d<12; d++)
|
||||
for(int d=0; d<S7; d++)
|
||||
if(h->cmove(d)->distance < h->distance)
|
||||
if(children[S7*c+d] == -1)
|
||||
ok = false;
|
||||
|
Loading…
Reference in New Issue
Block a user