diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-02-28 21:12:15 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-02-28 21:12:15 +0300 |
commit | b96242e1d5a6af71e6f884596f77268743945c63 (patch) | |
tree | 1fc425037771265a1134956641c466095b7349a1 /src/being | |
parent | 0cc662938674c22bb5a3d1e1521fe90eb28121e4 (diff) | |
download | mv-b96242e1d5a6af71e6f884596f77268743945c63.tar.gz mv-b96242e1d5a6af71e6f884596f77268743945c63.tar.bz2 mv-b96242e1d5a6af71e6f884596f77268743945c63.tar.xz mv-b96242e1d5a6af71e6f884596f77268743945c63.zip |
Build homunculushandler only if eathena enabled.
Diffstat (limited to 'src/being')
-rw-r--r-- | src/being/playerinfo.cpp | 4 |
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) |