fixed a potential crash in infinite-order tilings

This commit is contained in:
Zeno Rogue committed 2026-09-19 19:35:02 +02:00
1 parent 58a2859146
commit a6b5ef38fa
1 file changed
+4 -1
+4 -1
View File
@@ -30,7 +30,10 @@ EX namespace inforder {
h1->s = hsA;
h1->distance = h->distance + (par ? -1 : 1);
h1->c7 = newCell(deg, h1);
if(h->c7)
h1->c7 = newCell(deg, h1);
else
h1->c7 = nullptr;
return h1;
}