From 49c3bc1e4a1caf5ba09ce5549bee95b862c477c4 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sun, 4 Jul 2021 11:27:37 +0200 Subject: [PATCH] init_heptagon fixup --- heptagon.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/heptagon.cpp b/heptagon.cpp index 5c1ae021..87a2ca32 100644 --- a/heptagon.cpp +++ b/heptagon.cpp @@ -77,13 +77,13 @@ EX heptagon *buildHeptagon1(heptagon *h, heptagon *parent, int d, hstate s, int return h; } -heptagon *init_heptagon(int type) { - heptagon *h = tailored_alloc (d); +EX heptagon *init_heptagon(int type) { + heptagon *h = tailored_alloc (type); h->emeraldval = 0; h->zebraval = 0; h->fiftyval = 0; h->fieldval = 0; - h->rval0 = origin->rval1 = 0; + h->rval0 = h->rval1 = 0; h->cdata = NULL; h->alt = NULL; h->c7 = NULL;