From b96242e1d5a6af71e6f884596f77268743945c63 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 28 Feb 2015 21:12:15 +0300 Subject: Build homunculushandler only if eathena enabled. --- src/being/playerinfo.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/being/playerinfo.cpp') 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) -- cgit v1.2.3-70-g09d2