diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-08-02 17:45:45 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-08-02 17:45:45 -0300 |
commit | 9e65c46146336470bf1c8934abd19bf7e9e16ded (patch) | |
tree | 414942d9d12195f62f224360047c9ffc8f111797 /src/config | |
parent | 52592e01511cb86c1f0f545be52c340d190546ec (diff) | |
download | hercules-9e65c46146336470bf1c8934abd19bf7e9e16ded.tar.gz hercules-9e65c46146336470bf1c8934abd19bf7e9e16ded.tar.bz2 hercules-9e65c46146336470bf1c8934abd19bf7e9e16ded.tar.xz hercules-9e65c46146336470bf1c8934abd19bf7e9e16ded.zip |
[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.
Diffstat (limited to 'src/config')
-rw-r--r-- | src/config/core.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |