1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-13 17:06:52 +00:00

sol:: fixed return too early

This commit is contained in:
Zeno Rogue 2019-07-25 12:10:26 +02:00
parent d6c53f933f
commit 2c3341bf67

View File

@ -883,13 +883,13 @@ namespace solv {
h = tailored_alloc<heptagon> (S7); h = tailored_alloc<heptagon> (S7);
h->c7 = newCell(S7, h); h->c7 = newCell(S7, h);
coords[h] = make_pair(x, y); coords[h] = make_pair(x, y);
return h;
h->distance = 0; h->distance = 0;
h->dm4 = 0; h->dm4 = 0;
h->zebraval = 0; h->zebraval = 0;
h->emeraldval = 0; h->emeraldval = 0;
h->fieldval = 0; h->fieldval = 0;
h->cdata = NULL; h->cdata = NULL;
return h;
} }
hrmap_sol() { hrmap_sol() {