diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2011-02-16 23:18:20 -0800 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-02-18 18:12:59 +0200 |
commit | 8329553a5342b1b3b6d81892199c124db0967fc4 (patch) | |
tree | 57950133344348937d62d582e693ac01b79d1839 | |
parent | 3b699158d2732d45e3a6bbb8c0dc1abfe85a9167 (diff) | |
download | ManaVerse-8329553a5342b1b3b6d81892199c124db0967fc4.tar.gz ManaVerse-8329553a5342b1b3b6d81892199c124db0967fc4.tar.bz2 ManaVerse-8329553a5342b1b3b6d81892199c124db0967fc4.tar.xz ManaVerse-8329553a5342b1b3b6d81892199c124db0967fc4.zip |
Add particle notification for "Unable to pick up item."
-rw-r--r-- | src/localplayer.cpp | 8 |
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 +} |