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.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/being/playerinfo.cpp b/src/being/playerinfo.cpp
index 6b3bb2703..a3eb640a9 100644
--- a/src/being/playerinfo.cpp
+++ b/src/being/playerinfo.cpp
@@ -563,16 +563,20 @@ void updateMoveAI()
{
if (mMercenary)
mercenaryHandler->moveToMaster();
+#ifdef EATHENA_SUPPORT
if (mHomunculus)
homunculusHandler->moveToMaster();
+#endif
}
void updateAttackAi(const int targetId, const bool keep)
{
if (mMercenary)
mercenaryHandler->attack(targetId, keep);
+#ifdef EATHENA_SUPPORT
if (mHomunculus)
homunculusHandler->attack(targetId, keep);
+#endif
}
void setGuildPositionFlags(const GuildPositionFlags::Type pos)