Merge remote-tracking branch 'origin/main' into experimental
Some checks are pending
Nightly Release / Build Client (push) Waiting to run
Nightly Release / Release Server (push) Blocked by required conditions
Nightly Release / Release Client (push) Blocked by required conditions
Nightly Release / Build Server (push) Waiting to run
Nightly Release / cleanup (push) Blocked by required conditions

This commit is contained in:
github-actions 2026-05-15 12:24:44 +00:00
commit c3c2ab5b54

View file

@ -42,8 +42,20 @@ Icon* DirtTile::getTexture(int face, int data)
if (data < 0 || data >= DIRT_NAMES_LENGTH)
data = 0;
if (TEXTURE_NAMES[data] == L"dirt_podzol") {
return (face == Facing::UP) ? podzolTop : podzolSide;
if (TEXTURE_NAMES[data] == L"dirt_podzol")
{
switch(face)
{
case Facing::UP:
return podzolTop;
break;
case Facing::DOWN:
return Tile::dirt->getTexture(face);
break;
default:
return podzolSide;
break;
}
}
return icons[data];