mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-03 08:26:11 +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) {
|
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