diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2011-02-16 23:18:20 -0800 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2011-02-17 20:53:33 -0700 |
commit | b74616db888fb69b81d49792ca3d68af3bdeaefe (patch) | |
tree | a1c13a3461dc337fdf646af825a3e528be655b47 | |
parent | 871203e820e8be156e62c873c366482cf18d1408 (diff) | |
download | mana-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.cpp | 6 |
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 { |