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:
parent
75b8c13b00
commit
f764297be2
7 changed files with 21 additions and 34 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue