summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/localplayer.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp
index 2bc63849f..e58ec63ba 100644
--- a/src/localplayer.cpp
+++ b/src/localplayer.cpp
@@ -1317,6 +1317,12 @@ void LocalPlayer::pickedUp(const ItemInfo &itemInfo, int amount)
localChatTab->chatLog(_("Unable to pick up item."),
BY_SERVER);
}
+ if (mMap && config.getValue("showpickupparticle", 0))
+ {
+ // Show pickup notification
+ addMessageToQueue(_("Unable to pick up item."),
+ UserPalette::PICKUP_INFO);
+ }
}
else
{
@@ -3683,4 +3689,4 @@ void AwayListener::action(const gcn::ActionEvent &event)
if (miniStatusWindow)
miniStatusWindow->updateStatus();
}
-} \ No newline at end of file
+}