Fix texture glitches for plants with visual scale > 1.0 (jungle grass).

This commit is contained in:
RealBadAngel 2014-07-17 14:10:23 +02:00
parent 61088b16c9
commit 625489dff4
1 changed files with 2 additions and 2 deletions

View File

@ -1119,12 +1119,12 @@ void mapblock_mesh_generate_special(MeshMakeData *data,
if(j == 0)
{
for(u16 i=0; i<4; i++)
vertices[i].Pos.rotateXZBy(45);
vertices[i].Pos.rotateXZBy(46);
}
else if(j == 1)
{
for(u16 i=0; i<4; i++)
vertices[i].Pos.rotateXZBy(-45);
vertices[i].Pos.rotateXZBy(-44);
}
for(u16 i=0; i<4; i++)