diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-01-27 18:55:52 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-01-27 18:55:52 +0300 |
commit | eb0c8a2a08a7b55eb80667b106657aeee4023dd9 (patch) | |
tree | 72aacba357f61d997baec2819195595772a5da70 /src/actormanager.cpp | |
parent | dd73b250eb8390a87e09eeefc054202835b29a43 (diff) | |
download | plus-eb0c8a2a08a7b55eb80667b106657aeee4023dd9.tar.gz plus-eb0c8a2a08a7b55eb80667b106657aeee4023dd9.tar.bz2 plus-eb0c8a2a08a7b55eb80667b106657aeee4023dd9.tar.xz plus-eb0c8a2a08a7b55eb80667b106657aeee4023dd9.zip |
remove removepickup action from social window popup menu.
Diffstat (limited to 'src/actormanager.cpp')
-rw-r--r-- | src/actormanager.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/actormanager.cpp b/src/actormanager.cpp index 70dcd8c30..ba8822bf0 100644 --- a/src/actormanager.cpp +++ b/src/actormanager.cpp @@ -1879,6 +1879,11 @@ bool ActorManager::checkForPickup(const FloorItem *const item) const return false; } +bool ActorManager::checkDefaultPickup() const +{ + return mPickupItemsSet.find("") != mPickupItemsSet.end(); +} + void ActorManager::updateEffects(const std::map<BeingTypeId, int> &addEffects, const std::set<BeingTypeId> &removeEffects) const |