diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-22 01:28:56 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-22 01:28:56 +0300 |
commit | cc7a39f467a49b2e91717739cb6e7c3c4b34a245 (patch) | |
tree | b930d808b5782b77dfa7cd52bbaa902101b8ba06 /src/being/being.cpp | |
parent | 2e07d1c5eb79eb291c20da511d0a313f56690756 (diff) | |
download | mv-cc7a39f467a49b2e91717739cb6e7c3c4b34a245.tar.gz mv-cc7a39f467a49b2e91717739cb6e7c3c4b34a245.tar.bz2 mv-cc7a39f467a49b2e91717739cb6e7c3c4b34a245.tar.xz mv-cc7a39f467a49b2e91717739cb6e7c3c4b34a245.zip |
Remove default parameters from map.
Diffstat (limited to 'src/being/being.cpp')
-rw-r--r-- | src/being/being.cpp | 7 |
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 |