From 9e65c46146336470bf1c8934abd19bf7e9e16ded Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 2 Aug 2021 17:45:45 -0300 Subject: [TMW2] Disable Official Walkpath. This only do something if path length > 14, which M+ does not. So in the end of the day it is running some extra calculations we don't need. I don't see anything else server-side which could be safely disabled. And I also don't know how effective this will be. --- src/config/core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/core.h b/src/config/core.h index a22d47324..a6f2e14d2 100644 --- a/src/config/core.h +++ b/src/config/core.h @@ -31,7 +31,7 @@ /// The official walkpath disables users from taking non-clear walk paths, /// e.g. if they want to get around an obstacle they have to walk around it, /// while with OFFICIAL_WALKPATH disabled if they click to walk around a obstacle the server will do it automatically -#define OFFICIAL_WALKPATH +//#define OFFICIAL_WALKPATH /// leave this line uncommented to enable callfunc checks when processing scripts. /// while allowed, the script engine will attempt to match user-defined functions -- cgit v1.2.3-60-g2f50