mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
Math mapgen fix, ip show on connect, pathfinder segfault fix
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user