From 50992a6ab44321fe925c2becaa856a31696076ea Mon Sep 17 00:00:00 2001 From: jbzdarkid Date: Mon, 25 Nov 2019 18:02:59 -0800 Subject: Simplified / added two more --- Source/Randomizer2Core.cpp | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'Source/Randomizer2Core.cpp') diff --git a/Source/Randomizer2Core.cpp b/Source/Randomizer2Core.cpp index ceb726b..eaefa9a 100644 --- a/Source/Randomizer2Core.cpp +++ b/Source/Randomizer2Core.cpp @@ -18,17 +18,9 @@ std::vector Randomizer2Core::CutSymmetricalEdgePairs(const Puzzle& p, size_ Puzzle copy = p; assert(p.symmetry != Puzzle::Symmetry::NONE); if (p.symmetry == Puzzle::Symmetry::X) { - if (p.width%4 == 1) { - // The puzle has an even width (e.g. 4x4), so it has a midline for symmetry. - // Since this midline is unusable, we cut it pre-emptively. - for (int y=0; y