diff options
Diffstat (limited to 'src/being/playerinfo.cpp')
-rw-r--r-- | src/being/playerinfo.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/being/playerinfo.cpp b/src/being/playerinfo.cpp index 4f7b714cf..0000825fe 100644 --- a/src/being/playerinfo.cpp +++ b/src/being/playerinfo.cpp @@ -61,6 +61,7 @@ Equipment *mEquipment = nullptr; MercenaryInfo *mMercenary = nullptr; HomunculusInfo *mHomunculus = nullptr; PetInfo *mPet = nullptr; +GuildPositionFlags::Type mGuildPositionFlags = GuildPositionFlags::None; bool mTrading = false; int mLevelProgress = 0; @@ -556,4 +557,14 @@ void updateAttackAi(const int targetId, const bool keep) homunculusHandler->attack(targetId, keep); } +void setGuildPositionFlags(const GuildPositionFlags::Type pos) +{ + mGuildPositionFlags = pos; +} + +GuildPositionFlags::Type getGuildPositionFlags() +{ + return mGuildPositionFlags; +} + } // namespace PlayerInfo |