summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-05-08 01:56:51 +0300
committerAndrei Karas <akaras@inbox.ru>2012-05-08 01:56:51 +0300
commit6597ad3d884c0e443203738cae4e97a545f76f48 (patch)
treee9c21df4fadeb311b99b94951163fe03977a622e
parentbfab477aead2b4376e9caa193dca2c62c2ff26f9 (diff)
downloadmv-6597ad3d884c0e443203738cae4e97a545f76f48.tar.gz
mv-6597ad3d884c0e443203738cae4e97a545f76f48.tar.bz2
mv-6597ad3d884c0e443203738cae4e97a545f76f48.tar.xz
mv-6597ad3d884c0e443203738cae4e97a545f76f48.zip
Fix compilation warning.
-rw-r--r--src/actorspritemanager.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/actorspritemanager.cpp b/src/actorspritemanager.cpp
index bae34cd98..2dd015df5 100644
--- a/src/actorspritemanager.cpp
+++ b/src/actorspritemanager.cpp
@@ -621,7 +621,6 @@ bool ActorSpriteManager::pickUpNearest(int x, int y, int maxdist)
|| player_node->isReachable(item->getTileX(),
item->getTileY())))
{
- const ItemInfo &info = item->getInfo();
if (allowAll)
{
if (mIgnorePickupItemsSet.find(item->getName())