summaryrefslogtreecommitdiff
path: root/src/being/being.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-09-05 16:46:03 +0300
committerAndrei Karas <akaras@inbox.ru>2015-09-05 17:55:52 +0300
commitdf5cdaf58478f3b6309b52c36b1696e5fe8dc157 (patch)
tree41d62b136d740307f12c527ea15a4743cc742954 /src/being/being.h
parente8ae8fc61b88ee891d85c5612417e43e15bd823d (diff)
downloadmanaverse-df5cdaf58478f3b6309b52c36b1696e5fe8dc157.tar.gz
manaverse-df5cdaf58478f3b6309b52c36b1696e5fe8dc157.tar.bz2
manaverse-df5cdaf58478f3b6309b52c36b1696e5fe8dc157.tar.xz
manaverse-df5cdaf58478f3b6309b52c36b1696e5fe8dc157.zip
Put badges into array in being.
Diffstat (limited to 'src/being/being.h')
-rw-r--r--src/being/being.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/being/being.h b/src/being/being.h
index a28565ba7..7defdc9e9 100644
--- a/src/being/being.h
+++ b/src/being/being.h
@@ -23,6 +23,7 @@
#ifndef BEING_BEING_H
#define BEING_BEING_H
+#include "enums/being/badgeindex.h"
#include "enums/being/reachable.h"
#include "enums/gui/usercolorid.h"
@@ -971,11 +972,7 @@ class Being notfinal : public ActorSprite,
BeingInfo *mInfo;
AnimatedSprite *mEmotionSprite;
AnimatedSprite *mAnimationEffect;
- AnimatedSprite *mGmBadge;
- AnimatedSprite *mGuildBadge;
- AnimatedSprite *mNameBadge;
- AnimatedSprite *mPartyBadge;
- AnimatedSprite *mTeamBadge;
+ AnimatedSprite *mBadges[BadgeIndex::BadgeIndexSize];
std::string mSpriteAction;
std::string mName; /**< Name of character */