Fix some indentation in nodedef.cpp
authorKahrl <kahrl@gmx.net>
Mon, 20 Oct 2014 14:11:38 +0000 (16:11 +0200)
committerKahrl <kahrl@gmx.net>
Mon, 20 Oct 2014 14:11:38 +0000 (16:11 +0200)
src/nodedef.cpp

index ee550523642d51dd031fa982024b61f58bb8db29..2f95b68f9362f37b4302f4e9a83a35425f24fbe1 100644 (file)
@@ -857,12 +857,12 @@ void CNodeDefManager::updateTextures(IGameDef *gamedef)
 
                //Cache 6dfacedir rotated clones of meshes
                if (f->mesh_ptr[0] && (f->param_type_2 == CPT2_FACEDIR)) {
-                               for (u16 j = 1; j < 24; j++) {
-                                       f->mesh_ptr[j] = cloneMesh(f->mesh_ptr[0]);
-                                       rotateMeshBy6dFacedir(f->mesh_ptr[j], j);
-                                       recalculateBoundingBox(f->mesh_ptr[j]);
-                               }
+                       for (u16 j = 1; j < 24; j++) {
+                               f->mesh_ptr[j] = cloneMesh(f->mesh_ptr[0]);
+                               rotateMeshBy6dFacedir(f->mesh_ptr[j], j);
+                               recalculateBoundingBox(f->mesh_ptr[j]);
                        }
+               }
        }
 #endif
 }