diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-08-03 22:10:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-08-03 22:10:59 +0300 |
commit | 6a0345c70155f9ff00e52f8952c1e79f61e0d445 (patch) | |
tree | 80d7fc2390c2a0103b10c508c317b5c9b40f2248 /src/net | |
parent | abeecf1255d28a7870aef9f70dc3353d9b5f4f2d (diff) | |
download | manaplus-6a0345c70155f9ff00e52f8952c1e79f61e0d445.tar.gz manaplus-6a0345c70155f9ff00e52f8952c1e79f61e0d445.tar.bz2 manaplus-6a0345c70155f9ff00e52f8952c1e79f61e0d445.tar.xz manaplus-6a0345c70155f9ff00e52f8952c1e79f61e0d445.zip |
Add support for elemental db and draw elementals sprites.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/eathena/beingrecv.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/net/eathena/beingrecv.cpp b/src/net/eathena/beingrecv.cpp index 4885e3c05..a9d5f380d 100644 --- a/src/net/eathena/beingrecv.cpp +++ b/src/net/eathena/beingrecv.cpp @@ -1985,8 +1985,10 @@ Being *BeingRecv::createBeing2(Net::MessageIn &msg, case BeingType::SKILL: type = ActorType::SkillUnit; break; - case BeingType::ITEM: case BeingType::ELEMENTAL: + type = ActorType::Elemental; + break; + case BeingType::ITEM: logger->log("not supported object type: %d, job: %d", CAST_S32(beingType), CAST_S32(job)); break; |