summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2011-02-16 23:18:20 -0800
committerJared Adams <jaxad0127@gmail.com>2011-02-17 20:53:33 -0700
commitb74616db888fb69b81d49792ca3d68af3bdeaefe (patch)
treea1c13a3461dc337fdf646af825a3e528be655b47
parent871203e820e8be156e62c873c366482cf18d1408 (diff)
downloadmana-b74616db888fb69b81d49792ca3d68af3bdeaefe.tar.gz
mana-b74616db888fb69b81d49792ca3d68af3bdeaefe.tar.bz2
mana-b74616db888fb69b81d49792ca3d68af3bdeaefe.tar.xz
mana-b74616db888fb69b81d49792ca3d68af3bdeaefe.zip
Add particle notification for "Unable to pick up item."
-rw-r--r--src/localplayer.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp
index 7826596c..cd1bb561 100644
--- a/src/localplayer.cpp
+++ b/src/localplayer.cpp
@@ -1247,6 +1247,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
{