diff --git a/bigstuff.cpp b/bigstuff.cpp index a9b0284e..53cbd52b 100644 --- a/bigstuff.cpp +++ b/bigstuff.cpp @@ -123,7 +123,7 @@ bool grailWasFound(cell *c) { void generateAlts(heptagon *h, int levs, bool link_cdata) { if(!h->alt) return; preventbarriers(h->c7); - forCellEx(c2, h->c7) preventbarriers(c2); + if(h->c7) forCellEx(c2, h->c7) preventbarriers(c2); if(GOLDBERG) for(int i=0; ic7); for(int i=0; irval0 = h->rval1 = 0; h->cdata = NULL; h->distance = 0; if(!IRREGULAR) h->c7 = newCell(S7, h); + else h->c7 = NULL; } for(int j=0; j