]> git.lizzy.rs Git - minetest.git/blobdiff - src/collision.cpp
merged CiaranG's changes (player privileges)
[minetest.git] / src / collision.cpp
index 83cefe4d1e1a5db78db65a18281b4e0c46b4caab..63186a84a5e72a2b803777f4c8795d652b5097b9 100644 (file)
@@ -70,6 +70,7 @@ collisionMoveResult collisionMoveSimple(Map *map, f32 pos_max_d,
        
        /*
                Go through every node around the object
+               TODO: Calculate the range of nodes that need to be checked
        */
        for(s16 y = oldpos_i.Y - 1; y <= oldpos_i.Y + 2; y++)
        for(s16 z = oldpos_i.Z - 1; z <= oldpos_i.Z + 1; z++)