summaryrefslogtreecommitdiff
path: root/src/localplayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r--src/localplayer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp
index 16382adc..0a041021 100644
--- a/src/localplayer.cpp
+++ b/src/localplayer.cpp
@@ -620,6 +620,7 @@ void LocalPlayer::pickUp(FloorItem *item)
}
else
{
+ pathSetByMouse();
setDestination(item->getTileX() * tileWidth + tileWidth / 2,
item->getTileY() * tileHeight + tileHeight / 2);
mPickUpTarget = item;