summaryrefslogtreecommitdiffstats
path: root/src/Mobs
diff options
context:
space:
mode:
authorwiseoldman95 <softwatt@gmx.com>2015-05-10 08:08:42 +0200
committerwiseoldman95 <softwatt@gmx.com>2015-05-10 08:08:42 +0200
commit8a576a0a35d0db0cfe510213bfb5ec5af1323777 (patch)
treea3d6f4b9ba53a46a67a16f07da3b74b779b66d79 /src/Mobs
parentMerge pull request #1954 from mc-server/MoreStyleCheck (diff)
downloadcuberite-8a576a0a35d0db0cfe510213bfb5ec5af1323777.tar
cuberite-8a576a0a35d0db0cfe510213bfb5ec5af1323777.tar.gz
cuberite-8a576a0a35d0db0cfe510213bfb5ec5af1323777.tar.bz2
cuberite-8a576a0a35d0db0cfe510213bfb5ec5af1323777.tar.lz
cuberite-8a576a0a35d0db0cfe510213bfb5ec5af1323777.tar.xz
cuberite-8a576a0a35d0db0cfe510213bfb5ec5af1323777.tar.zst
cuberite-8a576a0a35d0db0cfe510213bfb5ec5af1323777.zip
Diffstat (limited to '')
-rw-r--r--src/Mobs/Path.cpp2
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};