Skip to content

Commit 9029a34

Browse files
committedOct 20, 2014
Fix some indentation in nodedef.cpp
1 parent ae375cc commit 9029a34

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed
 

‎src/nodedef.cpp

+5-5
Original file line numberDiff line numberDiff line change
@@ -857,12 +857,12 @@ void CNodeDefManager::updateTextures(IGameDef *gamedef)
857857

858858
//Cache 6dfacedir rotated clones of meshes
859859
if (f->mesh_ptr[0] && (f->param_type_2 == CPT2_FACEDIR)) {
860-
for (u16 j = 1; j < 24; j++) {
861-
f->mesh_ptr[j] = cloneMesh(f->mesh_ptr[0]);
862-
rotateMeshBy6dFacedir(f->mesh_ptr[j], j);
863-
recalculateBoundingBox(f->mesh_ptr[j]);
864-
}
860+
for (u16 j = 1; j < 24; j++) {
861+
f->mesh_ptr[j] = cloneMesh(f->mesh_ptr[0]);
862+
rotateMeshBy6dFacedir(f->mesh_ptr[j], j);
863+
recalculateBoundingBox(f->mesh_ptr[j]);
865864
}
865+
}
866866
}
867867
#endif
868868
}

0 commit comments

Comments
 (0)
Please sign in to comment.