summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-03 22:10:59 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-03 22:10:59 +0300
commit6a0345c70155f9ff00e52f8952c1e79f61e0d445 (patch)
tree80d7fc2390c2a0103b10c508c317b5c9b40f2248 /src/net
parentabeecf1255d28a7870aef9f70dc3353d9b5f4f2d (diff)
downloadmanaplus-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.cpp4
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;