summaryrefslogtreecommitdiff
path: root/src/being/playerinfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/being/playerinfo.cpp')
-rw-r--r--src/being/playerinfo.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/being/playerinfo.cpp b/src/being/playerinfo.cpp
index d4654c7be..428878af9 100644
--- a/src/being/playerinfo.cpp
+++ b/src/being/playerinfo.cpp
@@ -533,4 +533,14 @@ HomunculusInfo *getHomunculus()
return mHomunculus;
}
+int getHomunculusId()
+{
+ return mHomunculus ? mHomunculus->id : 0;
+}
+
+int getMercenaryId()
+{
+ return mMercenary ? mMercenary->id : 0;
+}
+
} // namespace PlayerInfo