mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-30 21:42:59 +00:00
cdata clear in binarytiling and syntetic
This commit is contained in:
@@ -74,13 +74,14 @@ heptagon *buildHeptagon(heptagon *parent, int d, hstate s, int pard = 0, int fix
|
|||||||
h->spintable = 0;
|
h->spintable = 0;
|
||||||
h->move[pard] = parent; tsetspin(h->spintable, pard, d);
|
h->move[pard] = parent; tsetspin(h->spintable, pard, d);
|
||||||
parent->move[d] = h; tsetspin(parent->spintable, d, pard);
|
parent->move[d] = h; tsetspin(parent->spintable, d, pard);
|
||||||
|
h->cdata = NULL;
|
||||||
if(binarytiling || syntetic) return h;
|
if(binarytiling || syntetic) return h;
|
||||||
if(parent->c7) {
|
if(parent->c7) {
|
||||||
if(irr::on)
|
if(irr::on)
|
||||||
irr::link_next(parent, d);
|
irr::link_next(parent, d);
|
||||||
else
|
else
|
||||||
h->c7 = newCell(S7, h);
|
h->c7 = newCell(S7, h);
|
||||||
h->rval0 = h->rval1 = 0; h->cdata = NULL;
|
h->rval0 = h->rval1 = 0;
|
||||||
h->emeraldval = emerald_heptagon(parent->emeraldval, d);
|
h->emeraldval = emerald_heptagon(parent->emeraldval, d);
|
||||||
h->zebraval = zebra_heptagon(parent->zebraval, d);
|
h->zebraval = zebra_heptagon(parent->zebraval, d);
|
||||||
h->fieldval = currfp.connections[fieldpattern::btspin(parent->fieldval, d)];
|
h->fieldval = currfp.connections[fieldpattern::btspin(parent->fieldval, d)];
|
||||||
|
|||||||
Reference in New Issue
Block a user