1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-05-26 07:32:05 +00:00

correct sibling_limit for the binarytiling

This commit is contained in:
Zeno Rogue
2018-09-28 16:42:05 +02:00
parent d0ee141270
commit 3081773f86
+5 -2
View File
@@ -839,8 +839,11 @@ int sibling_limit = 0;
void set_sibling_limit() {
if(IRREGULAR) sibling_limit = 3;
auto p = gp::univ_param();
sibling_limit = 2 * p.first + p.second;
else if(binarytiling) sibling_limit = 3;
else {
auto p = gp::univ_param();
sibling_limit = 2 * p.first + p.second;
}
}
int celldist0(cell *c) {