summaryrefslogtreecommitdiff
path: root/src/resources/itemdb.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-03-27 21:41:20 +0300
committerAndrei Karas <akaras@inbox.ru>2011-03-27 21:41:20 +0300
commit964ffbb9b6ed5246b14a7d0c0d065f7d38af0912 (patch)
treeedef1b3f31183402e2d0f86ee48c9734c2a03c7e /src/resources/itemdb.cpp
parent41ac086fcd38fd472b579a495a8e8e7685ae4722 (diff)
downloadmanaverse-964ffbb9b6ed5246b14a7d0c0d065f7d38af0912.tar.gz
manaverse-964ffbb9b6ed5246b14a7d0c0d065f7d38af0912.tar.bz2
manaverse-964ffbb9b6ed5246b14a7d0c0d065f7d38af0912.tar.xz
manaverse-964ffbb9b6ed5246b14a7d0c0d065f7d38af0912.zip
Fix some warnings and improve code from gcc 4.6 compilation.
Diffstat (limited to 'src/resources/itemdb.cpp')
-rw-r--r--src/resources/itemdb.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/resources/itemdb.cpp b/src/resources/itemdb.cpp
index c7515fc6b..5c88043ed 100644
--- a/src/resources/itemdb.cpp
+++ b/src/resources/itemdb.cpp
@@ -248,6 +248,20 @@ void ItemDB::load()
itemInfo->addTag(mTags["Unusable"]);
break;
default:
+ case ITEM_EQUIPMENT_ONE_HAND_WEAPON:
+ case ITEM_EQUIPMENT_TWO_HANDS_WEAPON:
+ case ITEM_EQUIPMENT_TORSO:
+ case ITEM_EQUIPMENT_ARMS:
+ case ITEM_EQUIPMENT_HEAD:
+ case ITEM_EQUIPMENT_LEGS:
+ case ITEM_EQUIPMENT_SHIELD:
+ case ITEM_EQUIPMENT_RING:
+ case ITEM_EQUIPMENT_NECKLACE:
+ case ITEM_EQUIPMENT_FEET:
+ case ITEM_EQUIPMENT_AMMO:
+ case ITEM_EQUIPMENT_CHARM:
+ case ITEM_SPRITE_RACE:
+ case ITEM_SPRITE_HAIR:
itemInfo->addTag(mTags["Equipment"]);
break;
}