summaryrefslogtreecommitdiff
path: root/src/resources/itemdb.cpp
diff options
context:
space:
mode:
authorGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-10-18 20:18:28 +0000
committerGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-10-18 20:18:28 +0000
commit7a4efbb335f5dae02f4ae033d47622acac865149 (patch)
treeabf67031aa7880b5ec3aaf4ddf65b0c6c2cd2461 /src/resources/itemdb.cpp
parent220bae4d7871a5f9ce6a129d48aaf2bb0eb69d86 (diff)
downloadmana-client-7a4efbb335f5dae02f4ae033d47622acac865149.tar.gz
mana-client-7a4efbb335f5dae02f4ae033d47622acac865149.tar.bz2
mana-client-7a4efbb335f5dae02f4ae033d47622acac865149.tar.xz
mana-client-7a4efbb335f5dae02f4ae033d47622acac865149.zip
Removed unused slot field.
Diffstat (limited to 'src/resources/itemdb.cpp')
-rw-r--r--src/resources/itemdb.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/resources/itemdb.cpp b/src/resources/itemdb.cpp
index 4e978093..10fd2697 100644
--- a/src/resources/itemdb.cpp
+++ b/src/resources/itemdb.cpp
@@ -101,7 +101,6 @@ void ItemDB::load()
int type = XML::getProperty(node, "type", 0);
int weight = XML::getProperty(node, "weight", 0);
int view = XML::getProperty(node, "view", 0);
- int slot = XML::getProperty(node, "slot", 0);
std::string name = XML::getProperty(node, "name", "");
std::string image = XML::getProperty(node, "image", "");
@@ -119,7 +118,6 @@ void ItemDB::load()
itemInfo->setType(type);
itemInfo->setView(view);
itemInfo->setWeight(weight);
- itemInfo->setSlot(slot);
itemInfo->setWeaponType(weaponType);
for_each_xml_child_node(itemChild, node)