summaryrefslogtreecommitdiff
path: root/src/localplayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r--src/localplayer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp
index dc5c697db..66b5c11c1 100644
--- a/src/localplayer.cpp
+++ b/src/localplayer.cpp
@@ -4067,7 +4067,7 @@ void LocalPlayer::setRealPos(int x, int y)
mCrossX = x;
mCrossY = y;
}
- if (mMap && mMap->isCustom())
+ if (mMap->isCustom())
mMap->setWalk(x, y, true);
}
void LocalPlayer::fixAttackTarget()