summaryrefslogtreecommitdiff
path: root/src/resources/itemdb.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-03-29 03:51:37 +0300
committerAndrei Karas <akaras@inbox.ru>2012-03-29 03:52:16 +0300
commit3bf4e26b1319295532bb4396cbd6406d85cbcae0 (patch)
tree80a4303b29aafa21683e90e45798283a482bf1d1 /src/resources/itemdb.cpp
parent7f607a0f58a9eba53237955c06bf445c71d57b6c (diff)
downloadmanaverse-3bf4e26b1319295532bb4396cbd6406d85cbcae0.tar.gz
manaverse-3bf4e26b1319295532bb4396cbd6406d85cbcae0.tar.bz2
manaverse-3bf4e26b1319295532bb4396cbd6406d85cbcae0.tar.xz
manaverse-3bf4e26b1319295532bb4396cbd6406d85cbcae0.zip
Replace vectors with strings to short names.
Diffstat (limited to 'src/resources/itemdb.cpp')
-rw-r--r--src/resources/itemdb.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/itemdb.cpp b/src/resources/itemdb.cpp
index eb6d4a6b8..894ce7984 100644
--- a/src/resources/itemdb.cpp
+++ b/src/resources/itemdb.cpp
@@ -42,7 +42,7 @@ namespace
ItemDB::NamedItemInfos mNamedItemInfos;
ItemInfo *mUnknown;
bool mLoaded = false;
- std::vector<std::string> mTagNames;
+ StringVect mTagNames;
std::map<std::string, int> mTags;
}
@@ -405,7 +405,7 @@ void ItemDB::load()
mLoaded = true;
}
-const std::vector<std::string> &ItemDB::getTags()
+const StringVect &ItemDB::getTags()
{
return mTagNames;
}