summaryrefslogtreecommitdiff
path: root/src/being/playerinfo.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-28 21:12:15 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-28 21:12:15 +0300
commitb96242e1d5a6af71e6f884596f77268743945c63 (patch)
tree1fc425037771265a1134956641c466095b7349a1 /src/being/playerinfo.cpp
parent0cc662938674c22bb5a3d1e1521fe90eb28121e4 (diff)
downloadplus-b96242e1d5a6af71e6f884596f77268743945c63.tar.gz
plus-b96242e1d5a6af71e6f884596f77268743945c63.tar.bz2
plus-b96242e1d5a6af71e6f884596f77268743945c63.tar.xz
plus-b96242e1d5a6af71e6f884596f77268743945c63.zip
Build homunculushandler only if eathena enabled.
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)