summaryrefslogtreecommitdiff
path: root/src/resources/iteminfo.h
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/iteminfo.h
parent7f607a0f58a9eba53237955c06bf445c71d57b6c (diff)
downloadmanaplus-3bf4e26b1319295532bb4396cbd6406d85cbcae0.tar.gz
manaplus-3bf4e26b1319295532bb4396cbd6406d85cbcae0.tar.bz2
manaplus-3bf4e26b1319295532bb4396cbd6406d85cbcae0.tar.xz
manaplus-3bf4e26b1319295532bb4396cbd6406d85cbcae0.zip
Replace vectors with strings to short names.
Diffstat (limited to 'src/resources/iteminfo.h')
-rw-r--r--src/resources/iteminfo.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/resources/iteminfo.h b/src/resources/iteminfo.h
index cd406003d..56a442832 100644
--- a/src/resources/iteminfo.h
+++ b/src/resources/iteminfo.h
@@ -29,8 +29,6 @@
#include "resources/spritedef.h"
#include <map>
-#include <string>
-#include <vector>
#include <set>
enum EquipmentSoundEvent
@@ -292,7 +290,7 @@ class ItemInfo
std::map <int, std::string> mAnimationFiles;
/** Stores the names of sounds to be played at certain event. */
- std::map < EquipmentSoundEvent, std::vector<std::string> > mSounds;
+ std::map <EquipmentSoundEvent, StringVect> mSounds;
std::map <int, int> mTags;
std::map <int, ColorDB::ItemColor> *mColors;
std::string mColorList;