1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Math mapgen fix, ip show on connect, pathfinder segfault fix

This commit is contained in:
proller 2013-06-23 20:23:59 +04:00
parent 75b8c13b00
commit f764297be2
7 changed files with 21 additions and 34 deletions

View file

@ -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;