summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
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;