summaryrefslogtreecommitdiff
path: root/src/net/manaserv
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/manaserv')
-rw-r--r--src/net/manaserv/attributes.cpp4
-rw-r--r--src/net/manaserv/attributes.h5
2 files changed, 4 insertions, 5 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; }
/**
diff --git a/src/net/manaserv/attributes.h b/src/net/manaserv/attributes.h
index ba5931b8c..5e0aab38a 100644
--- a/src/net/manaserv/attributes.h
+++ b/src/net/manaserv/attributes.h
@@ -22,8 +22,7 @@
#ifndef NET_MANASERV_ATTRIBUTES_H
#define NET_MANASERV_ATTRIBUTES_H
-#include <string>
-#include <vector>
+#include "utils/stringvector.h"
namespace ManaServ
{
@@ -41,7 +40,7 @@ namespace Attributes
/**
* Returns the list of base attribute labels.
*/
- std::vector<std::string>& getLabels();
+ StringVect& getLabels();
/**
* Give back the corresponding playerinfo Id from the attribute id