From 72168639865fb75a4c216b1058dc8412d4c81277 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 24 Jun 2012 23:53:51 +0300 Subject: Add autodetection walkable tiles in maps without client data. --- src/localplayer.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/localplayer.cpp') 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() { -- cgit v1.2.3-60-g2f50