X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Fcollision.cpp;h=63186a84a5e72a2b803777f4c8795d652b5097b9;hb=94c9686020798c8ec8113c242dc1dfe0c2accf71;hp=83cefe4d1e1a5db78db65a18281b4e0c46b4caab;hpb=5a4d8ffad3b172eae67844deda6b65273b7c9757;p=minetest.git diff --git a/src/collision.cpp b/src/collision.cpp index 83cefe4d1..63186a84a 100644 --- a/src/collision.cpp +++ b/src/collision.cpp @@ -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++)