]> git.lizzy.rs Git - minetest.git/blobdiff - src/mapnode.cpp
Use numeric indices and raw table access with LUA_REGISTRYINDEX
[minetest.git] / src / mapnode.cpp
index fe9686f0d3f0fe07e583164cdeb07a012029fd71..732237833c4e391abb5d7281824e1fd09a141d62 100644 (file)
@@ -192,7 +192,7 @@ static std::vector<aabb3f> transformNodeBox(const MapNode &n,
                facedir&=0x03;
                for(std::vector<aabb3f>::const_iterator
                                i = fixed.begin();
-                               i != fixed.end(); i++)
+                               i != fixed.end(); ++i)
                {
                        aabb3f box = *i;