diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-03-29 03:51:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-03-29 03:52:16 +0300 |
commit | 3bf4e26b1319295532bb4396cbd6406d85cbcae0 (patch) | |
tree | 80a4303b29aafa21683e90e45798283a482bf1d1 /src/net/manaserv/attributes.cpp | |
parent | 7f607a0f58a9eba53237955c06bf445c71d57b6c (diff) | |
download | manaverse-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/net/manaserv/attributes.cpp')
-rw-r--r-- | src/net/manaserv/attributes.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/manaserv/attributes.cpp b/src/net/manaserv/attributes.cpp index 662032e29..9d1e159ff 100644 --- a/src/net/manaserv/attributes.cpp +++ b/src/net/manaserv/attributes.cpp @@ -66,7 +66,7 @@ namespace Attributes static TagMap tags; /** List of modifiable attribute names used at character's creation. */ - static std::vector<std::string> attributeLabels; + static StringVect attributeLabels; /** Characters creation points. */ static unsigned int creationPoints = 0; @@ -82,7 +82,7 @@ namespace Attributes unsigned int getAttributeMaximum() { return attributeMaximum; } - std::vector<std::string>& getLabels() + StringVect& getLabels() { return attributeLabels; } /** |