Skip to content

Commit 3bf05f0

Browse files
committedJul 24, 2014
Allow full circle rotation with 2degs step for plantlike drawtype.
1 parent 9dc8901 commit 3bf05f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

Diff for: ‎src/content_mapblock.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1119,12 +1119,12 @@ void mapblock_mesh_generate_special(MeshMakeData *data,
11191119
if(j == 0)
11201120
{
11211121
for(u16 i=0; i<4; i++)
1122-
vertices[i].Pos.rotateXZBy(46 + n.param2);
1122+
vertices[i].Pos.rotateXZBy(46 + n.param2 * 2);
11231123
}
11241124
else if(j == 1)
11251125
{
11261126
for(u16 i=0; i<4; i++)
1127-
vertices[i].Pos.rotateXZBy(-44 + n.param2);
1127+
vertices[i].Pos.rotateXZBy(-44 + n.param2 * 2);
11281128
}
11291129

11301130
for(u16 i=0; i<4; i++)

0 commit comments

Comments
 (0)
Please sign in to comment.