stfu menche pt2

This commit is contained in:
darkrose 2015-12-23 22:38:11 +10:00
parent cab27d2da3
commit 52ec93b116
1 changed files with 2 additions and 1 deletions

View File

@ -5254,8 +5254,9 @@ void meshgen_flaglike(MeshMakeData *data, v3s16 p, MapNode &n, SelectedNode &sel
if (selected.is_coloured || selected.has_crack) {
float os[2] = {0.01,-0.01};
for (u16 k=0; k<2; k++) {
video::S3DVertex *v = vertices;
video::S3DVertex v[4];
for (u16 i=0; i<4; i++) {
v[i] = vertices[i];
v[i].Pos.Z += os[k];
v[i].Pos.rotateXZBy(angle);
}