diff options
Diffstat (limited to 'src/resources')
-rw-r--r-- | src/resources/claninfo.h | 4 | ||||
-rw-r--r-- | src/resources/db/clandb.cpp | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/resources/claninfo.h b/src/resources/claninfo.h index 3e510dcbf..fd96ecf51 100644 --- a/src/resources/claninfo.h +++ b/src/resources/claninfo.h @@ -21,6 +21,8 @@ #ifndef RESOURCES_CLANINFO_H #define RESOURCES_CLANINFO_H +#include "utils/vector.h" + #include <string> #include "localconsts.h" @@ -34,7 +36,7 @@ struct ClanInfo final A_DELETE_COPY(ClanInfo) - std::string stats; + STD_VECTOR<std::string> stats; int id; }; diff --git a/src/resources/db/clandb.cpp b/src/resources/db/clandb.cpp index 977d5439f..e4cf691dd 100644 --- a/src/resources/db/clandb.cpp +++ b/src/resources/db/clandb.cpp @@ -97,7 +97,7 @@ void ClanDb::loadXmlFile(const std::string &fileName, clanInfo->id = id; - readItemStatsString(clanInfo->stats, + readItemStatsVector(clanInfo->stats, clanNode, addFields); |