diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-05-12 03:02:22 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-05-12 03:02:22 +0300 |
commit | f2cf27f0d25a75109fc278afd9925165191df51a (patch) | |
tree | 30e5591dd42f230beefd4d213ed642615f4bf919 /src/actorspritemanager.cpp | |
parent | 70b12c969e34bc5e1530bc7de05fdf3e7ecd6a81 (diff) | |
download | manaplus-f2cf27f0d25a75109fc278afd9925165191df51a.tar.gz manaplus-f2cf27f0d25a75109fc278afd9925165191df51a.tar.bz2 manaplus-f2cf27f0d25a75109fc278afd9925165191df51a.tar.xz manaplus-f2cf27f0d25a75109fc278afd9925165191df51a.zip |
Fix code style.
Diffstat (limited to 'src/actorspritemanager.cpp')
-rw-r--r-- | src/actorspritemanager.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/actorspritemanager.cpp b/src/actorspritemanager.cpp index 2dd015df5..870d1a59d 100644 --- a/src/actorspritemanager.cpp +++ b/src/actorspritemanager.cpp @@ -40,8 +40,6 @@ #include "utils/gettext.h" #include "utils/stringutils.h" -#include "resources/iteminfo.h" - #include "net/net.h" #include "net/playerhandler.h" @@ -1620,8 +1618,11 @@ bool ActorSpriteManager::checkForPickup(FloorItem *item) { if (mPickupItemsSet.find("") != mPickupItemsSet.end()) { - if (mIgnorePickupItemsSet.find(item->getName()) == mIgnorePickupItemsSet.end()) + if (mIgnorePickupItemsSet.find(item->getName()) + == mIgnorePickupItemsSet.end()) + { return true; + } } else if (mPickupItemsSet.find(item->getName()) != mPickupItemsSet.end()) { |