From 7760948b7ca436ce0c7d26140dcd3867e81c99c9 Mon Sep 17 00:00:00 2001 From: Craig Robbins Date: Fri, 10 Feb 2017 22:21:49 +1000 Subject: [PATCH] Revert "Plantlike: Fix visual_scale being applied squared (#5115)" This reverts commit 953cbb3b15997a0e7c7c32af2365cb5046a9e476. --- src/content_mapblock.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/content_mapblock.cpp b/src/content_mapblock.cpp index 9923647bc..45822666f 100644 --- a/src/content_mapblock.cpp +++ b/src/content_mapblock.cpp @@ -1602,6 +1602,8 @@ void mapblock_mesh_generate_special(MeshMakeData *data, } for (int i = 0; i < 4; i++) { + vertices[i].Pos *= f.visual_scale; + vertices[i].Pos.Y += BS/2 * (f.visual_scale - 1); if (data->m_smooth_lighting) vertices[i].Color = blendLight(frame, vertices[i].Pos, tile.color); vertices[i].Pos += intToFloat(p, BS);