summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-26 12:48:42 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-26 12:48:42 +0300
commit7d2146f1ed4fbb0d0febd9bd78b5a864764282d1 (patch)
tree62d24d09d09a22ae180311eed4a19d6a2dfdc207
parenta82ac0ca69b7972eb10b347eac5b6a308d67d462 (diff)
downloadmanaverse-7d2146f1ed4fbb0d0febd9bd78b5a864764282d1.tar.gz
manaverse-7d2146f1ed4fbb0d0febd9bd78b5a864764282d1.tar.bz2
manaverse-7d2146f1ed4fbb0d0febd9bd78b5a864764282d1.tar.xz
manaverse-7d2146f1ed4fbb0d0febd9bd78b5a864764282d1.zip
remove duplicate sprite name in itemdb.
-rw-r--r--src/resources/db/itemdb.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/db/itemdb.cpp b/src/resources/db/itemdb.cpp
index 62e2789a0..24aa81dce 100644
--- a/src/resources/db/itemdb.cpp
+++ b/src/resources/db/itemdb.cpp
@@ -604,7 +604,7 @@ const ItemDB::ItemInfos &ItemDB::getItemInfos()
int parseSpriteName(const std::string &name)
{
int id = -1;
- if (name == "body" || name == "race")
+ if (name == "race" || name == "type")
{
id = 0;
}