mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-20 15:40:26 +00:00
correct sibling_limit for the binarytiling
This commit is contained in:
parent
d0ee141270
commit
3081773f86
@ -839,9 +839,12 @@ int sibling_limit = 0;
|
|||||||
|
|
||||||
void set_sibling_limit() {
|
void set_sibling_limit() {
|
||||||
if(IRREGULAR) sibling_limit = 3;
|
if(IRREGULAR) sibling_limit = 3;
|
||||||
|
else if(binarytiling) sibling_limit = 3;
|
||||||
|
else {
|
||||||
auto p = gp::univ_param();
|
auto p = gp::univ_param();
|
||||||
sibling_limit = 2 * p.first + p.second;
|
sibling_limit = 2 * p.first + p.second;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
int celldist0(cell *c) {
|
int celldist0(cell *c) {
|
||||||
if(binarytiling) return celldistAlt(c);
|
if(binarytiling) return celldistAlt(c);
|
||||||
|
Loading…
Reference in New Issue
Block a user