From 625489dff4cf7d97f49035f5e490476ced42e38f Mon Sep 17 00:00:00 2001 From: RealBadAngel Date: Thu, 17 Jul 2014 14:10:23 +0200 Subject: [PATCH] Fix texture glitches for plants with visual scale > 1.0 (jungle grass). --- src/content_mapblock.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/content_mapblock.cpp b/src/content_mapblock.cpp index ffdb5ad0..32e80c29 100644 --- a/src/content_mapblock.cpp +++ b/src/content_mapblock.cpp @@ -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++) -- 2.30.2