1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-25 09:30:35 +00:00

init_heptagon fixup

This commit is contained in:
Zeno Rogue 2021-07-04 11:27:37 +02:00
parent 169ffe1d6d
commit 49c3bc1e4a

View File

@ -77,13 +77,13 @@ EX heptagon *buildHeptagon1(heptagon *h, heptagon *parent, int d, hstate s, int
return h; return h;
} }
heptagon *init_heptagon(int type) { EX heptagon *init_heptagon(int type) {
heptagon *h = tailored_alloc<heptagon> (d); heptagon *h = tailored_alloc<heptagon> (type);
h->emeraldval = 0; h->emeraldval = 0;
h->zebraval = 0; h->zebraval = 0;
h->fiftyval = 0; h->fiftyval = 0;
h->fieldval = 0; h->fieldval = 0;
h->rval0 = origin->rval1 = 0; h->rval0 = h->rval1 = 0;
h->cdata = NULL; h->cdata = NULL;
h->alt = NULL; h->alt = NULL;
h->c7 = NULL; h->c7 = NULL;