diff options
author | Mattes D <github@xoft.cz> | 2015-05-10 08:32:06 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-05-10 08:32:06 +0200 |
commit | 92bb28ef6d8034b5ff79d4968ac7edfc71d6ad38 (patch) | |
tree | a3d6f4b9ba53a46a67a16f07da3b74b779b66d79 /src/Mobs/Path.cpp | |
parent | Merge pull request #1954 from mc-server/MoreStyleCheck (diff) | |
parent | PF - Less calcs per tick (diff) | |
download | cuberite-92bb28ef6d8034b5ff79d4968ac7edfc71d6ad38.tar cuberite-92bb28ef6d8034b5ff79d4968ac7edfc71d6ad38.tar.gz cuberite-92bb28ef6d8034b5ff79d4968ac7edfc71d6ad38.tar.bz2 cuberite-92bb28ef6d8034b5ff79d4968ac7edfc71d6ad38.tar.lz cuberite-92bb28ef6d8034b5ff79d4968ac7edfc71d6ad38.tar.xz cuberite-92bb28ef6d8034b5ff79d4968ac7edfc71d6ad38.tar.zst cuberite-92bb28ef6d8034b5ff79d4968ac7edfc71d6ad38.zip |
Diffstat (limited to 'src/Mobs/Path.cpp')
-rw-r--r-- | src/Mobs/Path.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Mobs/Path.cpp b/src/Mobs/Path.cpp index 8abbc4cac..ba7d615ae 100644 --- a/src/Mobs/Path.cpp +++ b/src/Mobs/Path.cpp @@ -8,7 +8,7 @@ #define DISTANCE_MANHATTAN 0 // 1: More speed, a bit less accuracy 0: Max accuracy, less speed. #define HEURISTICS_ONLY 0 // 1: Much more speed, much less accurate. -#define CALCULATIONS_PER_STEP 60 // Higher means more CPU load but faster path calculations. +#define CALCULATIONS_PER_STEP 5 // Higher means more CPU load but faster path calculations. // The only version which guarantees the shortest path is 0, 0. enum class eCellStatus {OPENLIST, CLOSEDLIST, NOLIST}; |