summaryrefslogtreecommitdiff
path: root/src/being/playerinfo.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-06 21:24:28 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-06 23:40:01 +0300
commitc623250fbc8524a1ab78791595bf1fc4344fec49 (patch)
treea0a0fb07bf5de4e494d50b214418b1ec99787dce /src/being/playerinfo.cpp
parentff516ba3e0459cce11d6b43d4686a1c3c43a6605 (diff)
downloadmv-c623250fbc8524a1ab78791595bf1fc4344fec49.tar.gz
mv-c623250fbc8524a1ab78791595bf1fc4344fec49.tar.bz2
mv-c623250fbc8524a1ab78791595bf1fc4344fec49.tar.xz
mv-c623250fbc8524a1ab78791595bf1fc4344fec49.zip
read guild position flags.
Diffstat (limited to 'src/being/playerinfo.cpp')
-rw-r--r--src/being/playerinfo.cpp11
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