From 2f8076f6c51cd969da927d12d6cd89a46899322e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 20 Sep 2014 14:10:11 +0300 Subject: Add mercenary actor type. Use it for now in samw way with monster type. --- src/net/eathena/beinghandler.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/net/eathena') diff --git a/src/net/eathena/beinghandler.cpp b/src/net/eathena/beinghandler.cpp index f222feada..e2617dc98 100644 --- a/src/net/eathena/beinghandler.cpp +++ b/src/net/eathena/beinghandler.cpp @@ -305,6 +305,9 @@ Being *BeingHandler::createBeing2(const int id, case BeingType::MONSTER: type = ActorType::Monster; break; + case BeingType::MERSOL: + type = ActorType::Mercenary; + break; case BeingType::ITEM: case BeingType::SKILL: case BeingType::ELEMENTAL: @@ -314,7 +317,6 @@ Being *BeingHandler::createBeing2(const int id, case BeingType::CHAT: case BeingType::PET: case BeingType::HOMUN: - case BeingType::MERSOL: type = ActorType::Monster; logger->log("not supported object type: %d, job: %d", static_cast(beingType), static_cast(job)); -- cgit v1.2.3-70-g09d2