summaryrefslogtreecommitdiff
path: root/src/resources/beingslot.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-20 21:22:22 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-20 21:22:22 +0300
commitf88506ac95b8ea9f02d22c35f81e59d4283151b6 (patch)
treed44c62c270b035a7d937c4084871baa5d1bb1258 /src/resources/beingslot.h
parentf582b2ea6a8f311b47377bcf45f05066639e5a3d (diff)
downloadmanaverse-f88506ac95b8ea9f02d22c35f81e59d4283151b6.tar.gz
manaverse-f88506ac95b8ea9f02d22c35f81e59d4283151b6.tar.bz2
manaverse-f88506ac95b8ea9f02d22c35f81e59d4283151b6.tar.xz
manaverse-f88506ac95b8ea9f02d22c35f81e59d4283151b6.zip
In Being replace mSpritesColor to using mSlots field.
Diffstat (limited to 'src/resources/beingslot.h')
-rw-r--r--src/resources/beingslot.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/resources/beingslot.h b/src/resources/beingslot.h
index c889b6045..1d4ef4d55 100644
--- a/src/resources/beingslot.h
+++ b/src/resources/beingslot.h
@@ -25,6 +25,8 @@
#include "resources/item/cardslist.h"
+#include <string>
+
#include "localconsts.h"
struct BeingSlot final
@@ -32,13 +34,15 @@ struct BeingSlot final
BeingSlot() :
spriteId(0),
cardsId(zeroCards),
- colorId(ItemColor_one)
+ colorId(ItemColor_one),
+ color()
{
}
int spriteId;
CardsList cardsId;
ItemColor colorId;
+ std::string color;
};
#endif // RESOURCES_BEINGSLOT_H