diff options
author | proller <proller@github.com> | 2013-06-23 20:23:59 +0400 |
---|---|---|
committer | proller <proller@github.com> | 2013-06-23 20:35:16 +0400 |
commit | f764297be2d55c9b8350077e44e3d62a9e058bcf (patch) | |
tree | bfabce6000d3ec50cd6472c3f9229265d58e7976 /src/pathfinder.cpp | |
parent | 75b8c13b0042678a909becbde8f1f82400f2d8ac (diff) | |
download | minetest-f764297be2d55c9b8350077e44e3d62a9e058bcf.tar.gz minetest-f764297be2d55c9b8350077e44e3d62a9e058bcf.tar.bz2 minetest-f764297be2d55c9b8350077e44e3d62a9e058bcf.zip |
Math mapgen fix, ip show on connect, pathfinder segfault fix
Diffstat (limited to 'src/pathfinder.cpp')
-rw-r--r-- | src/pathfinder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pathfinder.cpp b/src/pathfinder.cpp index 0d1cfe476..bbda07362 100644 --- a/src/pathfinder.cpp +++ b/src/pathfinder.cpp @@ -880,7 +880,7 @@ bool pathfinder::update_cost_heuristic( v3s16 ipos, /******************************************************************************/ void pathfinder::build_path(std::vector<v3s16>& path,v3s16 pos, int level) { level ++; - if (level > 1000) { + if (level > 700) { ERROR_TARGET << LVL "Pathfinder: path is too long aborting" << std::endl; return; |