1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-23 09:57:41 +00:00

split buildHeptagon to buildHeptagon1 and rest

This commit is contained in:
Zeno Rogue
2018-08-18 17:43:54 +02:00
parent c6496de645
commit 6ebd8ab9da
3 changed files with 8 additions and 4 deletions

View File

@@ -77,7 +77,7 @@ namespace binary {
}
heptagon *build(heptagon *parent, int d, int d1, int t, int side, int delta) {
auto h = buildHeptagon(parent, d, hsOrigin, d1);
auto h = buildHeptagon1(new heptagon, parent, d, hsOrigin, d1);
h->distance = parent->distance + delta;
h->c7 = newCell(t, h);
h->cdata = NULL;