From aa2cf6dbf5be71d21ae507ea4b5862505b3567bd Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Fri, 29 May 2020 01:58:15 +0200 Subject: [PATCH] fixed a crash when 'drawing underlying tree' in crystal3 --- crystal.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/crystal.cpp b/crystal.cpp index e7e2ec76..16a58d97 100644 --- a/crystal.cpp +++ b/crystal.cpp @@ -626,6 +626,7 @@ struct hrmap_crystal : hrmap_standard { map adjs; transmatrix adj(heptagon *h, int d) override { + if(!crystal3()) return adj(h->c7, d); auto co = hcoords[h]; int id = 0; for(int a=0; a>1) & 1);