diff options
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r-- | src/localplayer.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp index a0350ce8..612fdd82 100644 --- a/src/localplayer.cpp +++ b/src/localplayer.cpp @@ -605,6 +605,10 @@ void LocalPlayer::pickUp(FloorItem *item) if (dx * dx + dy * dy < 4) { Net::getPlayerHandler()->pickUp(item); + // We found it, so set the player direction to it + // if the player does not move + if (getDestination() == getPosition()) + lookAt(item->getPosition()); mPickUpTarget = NULL; } else |