summaryrefslogtreecommitdiff
path: root/src/resources/beinginfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/beinginfo.h')
-rw-r--r--src/resources/beinginfo.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/resources/beinginfo.h b/src/resources/beinginfo.h
index 0e544a3b6..f1b978543 100644
--- a/src/resources/beinginfo.h
+++ b/src/resources/beinginfo.h
@@ -187,6 +187,12 @@ class BeingInfo final
void setDeadSortOffsetY(const int n)
{ mDeadSortOffsetY = n; }
+ uint16_t getAvatarId() const A_WARN_UNUSED
+ { return mAvatarId; }
+
+ void setAvatarId(const uint16_t id)
+ { mAvatarId = id; }
+
static void init();
static void clear();
@@ -207,6 +213,7 @@ class BeingInfo final
bool mTargetSelection;
int mSortOffsetY;
int mDeadSortOffsetY;
+ uint16_t mAvatarId;
};
typedef std::map<int, BeingInfo*> BeingInfos;