From f2cf27f0d25a75109fc278afd9925165191df51a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 12 May 2012 03:02:22 +0300 Subject: Fix code style. --- src/actorspritemanager.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/actorspritemanager.cpp') 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()) { -- cgit v1.2.3-70-g09d2