From e985a074875641fd462958d96dadb038fc6be1bf Mon Sep 17 00:00:00 2001 From: Gustavo Ramos Rehermann Date: Wed, 15 Jan 2025 19:49:47 -0300 Subject: [PATCH] Set LAST_VISITED_LENGTH to 2 --- ZScript.zs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ZScript.zs b/ZScript.zs index c1cf9fe..8d2e32e 100644 --- a/ZScript.zs +++ b/ZScript.zs @@ -1339,7 +1339,7 @@ class ZTBotController : Actor { TryPushToLastVisited(pn); } - const LAST_VISITED_LENGTH = 5; + const LAST_VISITED_LENGTH = 2; bool TryPushToLastVisited(ZTPathNode node) { if (node == null) { @@ -1367,7 +1367,7 @@ class ZTBotController : Actor { } // push in - A_Log("New lastVisited: "..node.id); + //A_Log("New lastVisited: "..node.id); lastVisited[0] = node; return true;