Skip to content

Commit

Permalink
Revert "Plantlike: Fix visual_scale being applied squared (#5115)"
Browse files Browse the repository at this point in the history
This reverts commit 953cbb3.
  • Loading branch information
Zeno- committed Feb 10, 2017
1 parent 7bd3e2b commit 7760948
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/content_mapblock.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit 7760948

Please sign in to comment.