summaryrefslogtreecommitdiff
path: root/src/resources/iteminfo.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-01-04 00:31:44 +0200
committerAndrei Karas <akaras@inbox.ru>2011-01-04 00:31:44 +0200
commit311783bebbe2bed366dca5097697ce34c690292d (patch)
tree0533581ca605f773a67739efccf75472a4d35dd7 /src/resources/iteminfo.h
parent76bc1a5c994b46d8a4486a1226f681f7a4982f1c (diff)
downloadmanaverse-311783bebbe2bed366dca5097697ce34c690292d.tar.gz
manaverse-311783bebbe2bed366dca5097697ce34c690292d.tar.bz2
manaverse-311783bebbe2bed366dca5097697ce34c690292d.tar.xz
manaverse-311783bebbe2bed366dca5097697ce34c690292d.zip
Add draw filter (incomplete)
Diffstat (limited to 'src/resources/iteminfo.h')
-rw-r--r--src/resources/iteminfo.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/resources/iteminfo.h b/src/resources/iteminfo.h
index 3ccbf01ec..19bba335d 100644
--- a/src/resources/iteminfo.h
+++ b/src/resources/iteminfo.h
@@ -207,11 +207,11 @@ class ItemInfo
void setDrawPriority(int n)
{ mDrawPriority = n; }
- std::set<int> &getTags()
+ std::map<int, int> getTags()
{ return mTags; }
void addTag(int tag)
- { mTags.insert(tag); }
+ { mTags[tag] = 1; }
protected:
SpriteDisplay mDisplay; /**< Display info (like icon) */
@@ -243,7 +243,7 @@ class ItemInfo
/** Stores the names of sounds to be played at certain event. */
std::map < EquipmentSoundEvent, std::vector<std::string> > mSounds;
- std::set <int> mTags;
+ std::map <int,int> mTags;
};
#endif