From de1c28279bebbbd266e5c3020a38274e20cebb5c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 17 Apr 2015 13:59:36 +0300 Subject: Add eathena defines into actortype enum. --- src/actormanager.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/actormanager.cpp') diff --git a/src/actormanager.cpp b/src/actormanager.cpp index 2367f8fd4..7a074661d 100644 --- a/src/actormanager.cpp +++ b/src/actormanager.cpp @@ -247,9 +247,11 @@ Being *ActorManager::createBeing(const int id, mActors.insert(being); if (type == ActorType::Player - || type == ActorType::Npc +#ifdef EATHENA_SUPPORT || type == ActorType::Mercenary - || type == ActorType::Pet) + || type == ActorType::Pet +#endif + || type == ActorType::Npc) { being->updateFromCache(); beingHandler->requestNameById(id); -- cgit v1.2.3-70-g09d2