mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-29 19:40:35 +00:00
brownian:: use getDistLimit()*2/3/4 instead of 12/20/30
This commit is contained in:
parent
7c84d2e554
commit
16e29c7907
@ -35,9 +35,10 @@ namespace brownian {
|
||||
}
|
||||
|
||||
void recurse(cell *c, bool fat, int fatten_limit = 0) {
|
||||
int dl = getDistLimit();
|
||||
while(true) {
|
||||
totalsteps++;
|
||||
if(!fatten_limit && celldist(c) >= (fat ? 30 : ISMOBILE ? 12 : 20) + celldist(cwt.at)) {
|
||||
if(!fatten_limit && celldist(c) >= dl * (fat ? 4 : ISMOBILE ? 2 : 3) + celldist(cwt.at)) {
|
||||
cell *c1 = c;
|
||||
while(true) {
|
||||
cell *c2 = ts::left_parent(c1, celldist);
|
||||
|
Loading…
Reference in New Issue
Block a user