added missing clearmemory in nonisotropic geometries; this also fixed a crash in Archimedean

This commit is contained in:
Zeno Rogue
2019-09-12 22:50:14 +02:00
parent 123a972261
commit a25bf14cff
2 changed files with 16 additions and 0 deletions
+5
View File
@@ -345,6 +345,11 @@ void unlink_cdata(heptagon *h) {
}
}
EX void clear_heptagon(heptagon *at) {
clearHexes(at);
tailored_delete(at);
}
EX void clearfrom(heptagon *at) {
if(!at) return;
queue<heptagon*> q;