Translated using Weblate (Japanese)
[oweals/minetest.git] / src / content_mapblock.cpp
index a730c50a357d58cc28b99d6f348a021b45b37c2a..c4d09e18c3a311fea912439db8b4057d5dc57727 100644 (file)
@@ -20,7 +20,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #include "content_mapblock.h"
 #include "util/numeric.h"
 #include "util/directiontables.h"
-#include "main.h" // For g_settings
 #include "mapblock_mesh.h" // For MapBlock_LightColor() and MeshCollector
 #include "settings.h"
 #include "nodedef.h"
@@ -1549,7 +1548,7 @@ void mapblock_mesh_generate_special(MeshMakeData *data,
                        std::vector<aabb3f> boxes = n.getNodeBoxes(nodedef);
                        for(std::vector<aabb3f>::iterator
                                        i = boxes.begin();
-                                       i != boxes.end(); i++)
+                                       i != boxes.end(); ++i)
                        {
                        for(int j = 0; j < 6; j++)
                                {
@@ -1690,7 +1689,7 @@ void mapblock_mesh_generate_special(MeshMakeData *data,
                        v3f pos = intToFloat(p, BS);
                        f32 d = 0.05 * BS;
                        for (std::vector<aabb3f>::iterator i = boxes.begin();
-                                       i != boxes.end(); i++) {
+                                       i != boxes.end(); ++i) {
                                aabb3f box = *i;
                                box.MinEdge += v3f(-d, -d, -d) + pos;
                                box.MaxEdge += v3f(d, d, d) + pos;