From b74616db888fb69b81d49792ca3d68af3bdeaefe Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Wed, 16 Feb 2011 23:18:20 -0800 Subject: Add particle notification for "Unable to pick up item." --- src/localplayer.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src') 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 { -- cgit v1.2.3-70-g09d2