1
0
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:
Zeno Rogue 2021-07-29 12:03:54 +02:00
parent bdfe78eaf5
commit 64947fe456

View File

@ -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;