From 61c3939cb7ef0e84a9956ababc129aabfe2386d4 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sun, 1 Nov 2020 11:30:03 +0100 Subject: [PATCH] fixed clearfrom if a heptagon is adjacent to itself --- cell.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cell.cpp b/cell.cpp index 768a82a9..5fd578c9 100644 --- a/cell.cpp +++ b/cell.cpp @@ -408,7 +408,7 @@ EX void clearfrom(heptagon *at) { } int edges = at->degree(); if(bt::in() && WDIM == 2) edges = at->c7->type; - for(int i=0; imove(i)) { + for(int i=0; imove(i) && at->move(i) != at) { if(at->move(i)->alt != &deletion_marker) q.push(at->move(i)); unlink_cdata(at->move(i));