Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix some indentation in nodedef.cpp
  • Loading branch information
kahrl committed Oct 20, 2014
1 parent ae375cc commit 9029a34
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/nodedef.cpp
Expand Up @@ -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
}
Expand Down

0 comments on commit 9029a34

Please sign in to comment.