summaryrefslogtreecommitdiff
path: root/src/being/localplayer.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-10-15 22:00:10 +0300
committerAndrei Karas <akaras@inbox.ru>2015-10-15 22:18:35 +0300
commit7e35fd53d5fdc658facfce281577421296f8e3c1 (patch)
treeb1ebf61c376b0e1d92446a9fd6addc2c99cf415a /src/being/localplayer.cpp
parent60580edaea11f6a39ef8786e6576110b81fa106c (diff)
downloadmanaplus-7e35fd53d5fdc658facfce281577421296f8e3c1.tar.gz
manaplus-7e35fd53d5fdc658facfce281577421296f8e3c1.tar.bz2
manaplus-7e35fd53d5fdc658facfce281577421296f8e3c1.tar.xz
manaplus-7e35fd53d5fdc658facfce281577421296f8e3c1.zip
Simplify setWall function in map.
Diffstat (limited to 'src/being/localplayer.cpp')
-rw-r--r--src/being/localplayer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp
index cde59bd7a..33133a376 100644
--- a/src/being/localplayer.cpp
+++ b/src/being/localplayer.cpp
@@ -2492,7 +2492,7 @@ void LocalPlayer::setRealPos(const int x, const int y)
mCrossY = y;
}
if (mMap->isCustom())
- mMap->setWalk(x, y, true);
+ mMap->setWalk(x, y);
}
void LocalPlayer::fixAttackTarget()
{