summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-24 23:30:21 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-24 23:30:21 +0300
commit22b5ab21f9354294def23a6205359d5763c30739 (patch)
tree714a7822ba1cc54bb81371d6a93b1fff0121feeb /src/net
parentd2fade5787cb2fa315056410af6d6e6b92438b14 (diff)
downloadManaVerse-22b5ab21f9354294def23a6205359d5763c30739.tar.gz
ManaVerse-22b5ab21f9354294def23a6205359d5763c30739.tar.bz2
ManaVerse-22b5ab21f9354294def23a6205359d5763c30739.tar.xz
ManaVerse-22b5ab21f9354294def23a6205359d5763c30739.zip
For homunculus being use same data like for monster.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/eathena/beinghandler.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/net/eathena/beinghandler.cpp b/src/net/eathena/beinghandler.cpp
index 23e7d1149..c51651f38 100644
--- a/src/net/eathena/beinghandler.cpp
+++ b/src/net/eathena/beinghandler.cpp
@@ -313,6 +313,9 @@ Being *BeingHandler::createBeing2(const int id,
case BeingType::PET:
type = ActorType::Pet;
break;
+ case BeingType::HOMUN:
+ type = ActorType::Homunculus;
+ break;
case BeingType::ITEM:
case BeingType::SKILL:
case BeingType::ELEMENTAL:
@@ -320,7 +323,6 @@ Being *BeingHandler::createBeing2(const int id,
static_cast<int>(beingType), static_cast<int>(job));
break;
case BeingType::CHAT:
- case BeingType::HOMUN:
default:
type = ActorType::Monster;
logger->log("not supported object type: %d, job: %d",