diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-06-24 23:53:51 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-06-24 23:53:51 +0300 |
commit | 72168639865fb75a4c216b1058dc8412d4c81277 (patch) | |
tree | 876e745fe1b5924073faedd53d28a68a83e4593a /src/localplayer.cpp | |
parent | f9feb8f1fd4e2dc56218aba40ef94962fa866f84 (diff) | |
download | plus-72168639865fb75a4c216b1058dc8412d4c81277.tar.gz plus-72168639865fb75a4c216b1058dc8412d4c81277.tar.bz2 plus-72168639865fb75a4c216b1058dc8412d4c81277.tar.xz plus-72168639865fb75a4c216b1058dc8412d4c81277.zip |
Add autodetection walkable tiles in maps without client data.
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r-- | src/localplayer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp index 69e2572e1..f204164ee 100644 --- a/src/localplayer.cpp +++ b/src/localplayer.cpp @@ -4055,6 +4055,8 @@ void LocalPlayer::setRealPos(int x, int y) mCrossX = x; mCrossY = y; } + if (mMap && mMap->isCustom()) + mMap->setWalk(x, y, true); } void LocalPlayer::fixAttackTarget() { |