Skip to content
Permalink
Browse files

Revert "Plantlike: Fix visual_scale being applied squared (#5115)"

This reverts commit 953cbb3.
  • Loading branch information...
Zeno- committed Feb 10, 2017
1 parent 7bd3e2b commit 7760948b7ca436ce0c7d26140dcd3867e81c99c9
Showing with 2 additions and 0 deletions.
  1. +2 −0 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);

0 comments on commit 7760948

Please sign in to comment.
You can’t perform that action at this time.