From a1a404408a790623f518bcb2966b472622f39116 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 31 Jul 2017 21:37:07 +0300 Subject: Precalculate badges position on each change time. --- src/being/being.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/being/being.h') diff --git a/src/being/being.h b/src/being/being.h index 0f652139d..cd5b0efff 100644 --- a/src/being/being.h +++ b/src/being/being.h @@ -1222,6 +1222,8 @@ class Being notfinal : public ActorSprite, void postInit(const BeingTypeId subType, Map *const map); + void updateBadgesPosition(); + /** * Calculates the offset in the given directions. * If walking in direction 'neg' the value is negated. @@ -1349,6 +1351,8 @@ class Being notfinal : public ActorSprite, int mAreaSize; int mCastEndTime; int mLanguageId; + int mBadgesX; + int mBadgesY; BeingId mCreatorId; uint16_t mTeamId; uint16_t mLook; -- cgit v1.2.3-60-g2f50