mirror of
https://git.neolegacy.dev/neoStudiosLCE/neoLegacy.git
synced 2026-07-15 18:42:34 +00:00
fix(TU31): fix podzol down face texture (#71)
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user