Fixing experimental mapBiomeBE.

This commit is contained in:
Cubitect 2021-01-07 17:17:21 +01:00
parent d28bfcfd68
commit 9a323f4167
2 changed files with 2 additions and 2 deletions

View File

@ -133,7 +133,7 @@ static void setupGeneratorImpl(LayerStack *g, int mcversion, int largeBiomes)
setupLayer(&l[L_ZOOM_64_HILLS], &l[L_ZOOM_128_HILLS], mcversion < MC_1_13 ? 0 : 1001, mapZoom);
setupMultiLayer(&l[L_HILLS_64], &l[L_BIOME_EDGE_64], &l[L_ZOOM_64_HILLS], 1000,
(mcversion & 0xff) <= MC_1_12 ? mapHills112 : mapHills);
mcversion <= MC_1_12 ? mapHills112 : mapHills);
setupLayer(&l[L_RARE_BIOME_64], &l[L_HILLS_64], 1001, mapRareBiome);
setupLayer(&l[L_ZOOM_32], &l[L_RARE_BIOME_64], 1000, mapZoom);

View File

@ -871,7 +871,7 @@ int mapBiomeBE(const Layer * l, int * out, int x, int z, int w, int h)
break;
case Lush:
if (hasHighBit) out[idx] = jungle;
else out[idx] = lushBiomesBE[mcFirstInt(cs, 6)];
else out[idx] = lushBiomesBE[mcFirstInt(cs, 8)];
break;
case Cold:
if (hasHighBit) out[idx] = giant_tree_taiga;