This commit is contained in:
ChristianFalegnami 2026-03-15 23:49:00 +01:00
parent 60565f7a5e
commit 543e30641b
2 changed files with 2 additions and 2 deletions

View file

@ -95,7 +95,7 @@ bool PineFeature::place(Level *level, Random *random, int x, int y, int z)
for (int hh = 0; hh < treeHeight - 1; hh++) for (int hh = 0; hh < treeHeight - 1; hh++)
{ {
int t = level->getTile(x, y + hh, z); int t = level->getTile(x, y + hh, z);
if (t == 0 || t == Tile::leaves_Id) placeBlock(level, x, y + hh, z, Tile::treeTrunk_Id, TreeTile::DARK_TRUNK); if (t == 0 || t == Tile::leaves_Id) placeBlock(level, x, y + hh, z, Tile::treeTrunk_Id, TreeTile::SPRUCE_TRUNK);
} }
return true; return true;

View file

@ -110,7 +110,7 @@ bool SpruceFeature::place(Level *level, Random *random, int x, int y, int z)
for (int hh = 0; hh < treeHeight - topOffset; hh++) for (int hh = 0; hh < treeHeight - topOffset; hh++)
{ {
int t = level->getTile(x, y + hh, z); int t = level->getTile(x, y + hh, z);
if (t == 0 || t == Tile::leaves_Id) placeBlock(level, x, y + hh, z, Tile::treeTrunk_Id, TreeTile::DARK_TRUNK); if (t == 0 || t == Tile::leaves_Id) placeBlock(level, x, y + hh, z, Tile::treeTrunk_Id, TreeTile::SPRUCE_TRUNK);
} }
return true; return true;
} }