Skip to content

Commit d83bcf2

Browse files
authoredSep 12, 2016
Plantlike meshoptions: fix degrotate. (#4512)
This snuck in with the meshoptions patch and accidentally kills degrotate plants. Thanks to @HybridDog for finding this.
1 parent af4b63f commit d83bcf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎src/content_mapblock.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1138,7 +1138,7 @@ void mapblock_mesh_generate_special(MeshMakeData *data,
11381138
u8 p2mesh = 0;
11391139
if (f.param_type_2 == CPT2_DEGROTATE)
11401140
rotate_degree = n.param2 * 2;
1141-
else if (f.param_type_2 != CPT2_MESHOPTIONS) {
1141+
if (f.param_type_2 != CPT2_MESHOPTIONS) {
11421142
if (j == 0) {
11431143
for (u16 i = 0; i < 4; i++)
11441144
vertices[i].Pos.rotateXZBy(46 + rotate_degree);

0 commit comments

Comments
 (0)
Please sign in to comment.