summaryrefslogtreecommitdiff
path: root/src/being/being.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/being/being.cpp')
-rw-r--r--src/being/being.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index 1e8ca5efc..ad68a4657 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -543,7 +543,12 @@ void Being::setDestination(const int dstX,
if (mMap == nullptr)
return;
- setPath(mMap->findPath(mX, mY, dstX, dstY, getBlockWalkMask()));
+ setPath(mMap->findPath(mX,
+ mY,
+ dstX,
+ dstY,
+ getBlockWalkMask(),
+ 20));
}
void Being::clearPath() restrict2