mirror of
https://github.com/Cubitect/cubiomes.git
synced 2025-09-09 20:29:20 -04:00
undo bad multiplication
This commit is contained in:
parent
d68faefd65
commit
0af31b4e7e
@ -1317,8 +1317,8 @@ L_feature:
|
|||||||
{
|
{
|
||||||
if (g->mc <= MC_1_17)
|
if (g->mc <= MC_1_17)
|
||||||
g->entry = &g->ls.layers[L_RIVER_MIX_4];
|
g->entry = &g->ls.layers[L_RIVER_MIX_4];
|
||||||
sampleX = x * 4;
|
sampleX = x >> 2;
|
||||||
sampleZ = z * 4;
|
sampleZ = z >> 2;
|
||||||
}
|
}
|
||||||
id = getBiomeAt(g, 0, sampleX, 319>>2, sampleZ);
|
id = getBiomeAt(g, 0, sampleX, 319>>2, sampleZ);
|
||||||
if (id < 0 || !isViableFeatureBiome(g->mc, structureType, id))
|
if (id < 0 || !isViableFeatureBiome(g->mc, structureType, id))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user