diff options
Diffstat (limited to 'src/actorspritemanager.cpp')
-rw-r--r-- | src/actorspritemanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/actorspritemanager.cpp b/src/actorspritemanager.cpp index 90a71aaee..09dc1ff8e 100644 --- a/src/actorspritemanager.cpp +++ b/src/actorspritemanager.cpp @@ -636,7 +636,7 @@ bool ActorSpriteManager::pickUpNearest(const int x, const int y, if ((d < dist || !closestItem) && (!mTargetOnlyReachable || player_node->isReachable(item->getTileX(), - item->getTileY()))) + item->getTileY(), false))) { if (allowAll) { |