about summary refs log tree commit diff stats
path: root/Source/Randomizer2Core.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Randomizer2Core.cpp')
-rw-r--r--Source/Randomizer2Core.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Randomizer2Core.cpp b/Source/Randomizer2Core.cpp index c34fec6..f8d1312 100644 --- a/Source/Randomizer2Core.cpp +++ b/Source/Randomizer2Core.cpp
@@ -24,7 +24,7 @@ std::vector<Pos> Randomizer2Core::CutEdges(const Puzzle& p, size_t numEdges, boo
24 bool inSequence = false; 24 bool inSequence = false;
25 for (Pos pos : p.sequence) inSequence |= (pos.x == x && pos.y == y); 25 for (Pos pos : p.sequence) inSequence |= (pos.x == x && pos.y == y);
26 if (inSequence) continue; 26 if (inSequence) continue;
27 edges.emplace_back(Pos{x, y}); 27 edges.emplace_back(x, y);
28 } 28 }
29 } 29 }
30 return CutEdgesInternal(p, edges, numEdges); 30 return CutEdgesInternal(p, edges, numEdges);