mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-01 23:47:21 +00:00
fix cave max size calculation
This commit is contained in:
parent
a802edc375
commit
cca0bed482
@ -114,6 +114,6 @@ public class IrisCave extends IrisRegistrant {
|
||||
}
|
||||
|
||||
public int getMaxSize(IrisData data, int depth) {
|
||||
return getWorm().getMaxDistance() + fork.getMaxRange(data, depth);
|
||||
return (int) (Math.ceil(getWorm().getGirth().getMax() * 2) + getWorm().getMaxDistance() + fork.getMaxRange(data, depth));
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user