aboutsummaryrefslogtreecommitdiff
path: root/src/nodedef.cpp
diff options
context:
space:
mode:
authorKahrl <kahrl@gmx.net>2014-10-20 16:11:38 +0200
committerKahrl <kahrl@gmx.net>2014-10-20 16:11:38 +0200
commit9029a34cc6a3b19c1a431fe3ba069c30a13321fc (patch)
tree17785fae969db290628b4e32389a02c2ba641cf0 /src/nodedef.cpp
parentae375cc322c5ee090c21ff4a04e54ef4422020cc (diff)
downloadminetest-9029a34cc6a3b19c1a431fe3ba069c30a13321fc.tar.gz
minetest-9029a34cc6a3b19c1a431fe3ba069c30a13321fc.tar.bz2
minetest-9029a34cc6a3b19c1a431fe3ba069c30a13321fc.zip
Fix some indentation in nodedef.cpp
Diffstat (limited to 'src/nodedef.cpp')
-rw-r--r--src/nodedef.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/nodedef.cpp b/src/nodedef.cpp
index ee5505236..2f95b68f9 100644
--- a/src/nodedef.cpp
+++ b/src/nodedef.cpp
@@ -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
}