summaryrefslogtreecommitdiff
path: root/src/net/eathena/homunculusrecv.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-07-27 00:06:24 +0300
committerAndrei Karas <akaras@inbox.ru>2016-07-27 00:06:24 +0300
commit0419f9b7ea98b9de36b6af97fccd964d3cda4750 (patch)
tree254ebf5626fc22f9ef1730b3e4f1a55233d5e076 /src/net/eathena/homunculusrecv.cpp
parentfab734c769e590b086096e29a498a5a4d71d1946 (diff)
downloadmv-0419f9b7ea98b9de36b6af97fccd964d3cda4750.tar.gz
mv-0419f9b7ea98b9de36b6af97fccd964d3cda4750.tar.bz2
mv-0419f9b7ea98b9de36b6af97fccd964d3cda4750.tar.xz
mv-0419f9b7ea98b9de36b6af97fccd964d3cda4750.zip
Calculate damage per second for homunculus and mercenary.
Diffstat (limited to 'src/net/eathena/homunculusrecv.cpp')
-rw-r--r--src/net/eathena/homunculusrecv.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/eathena/homunculusrecv.cpp b/src/net/eathena/homunculusrecv.cpp
index 4f6551488..2366b639b 100644
--- a/src/net/eathena/homunculusrecv.cpp
+++ b/src/net/eathena/homunculusrecv.cpp
@@ -151,6 +151,7 @@ void HomunculusRecv::processHomunculusInfo(Net::MessageIn &msg)
PlayerInfo::setStatBase(Attributes::HOMUN_ATTACK_RANGE,
range);
+ PlayerInfo::updateAttrs();
HomunculusInfo *const info = PlayerInfo::getHomunculus();
if (!info) // we can't find homunculus being because id is missing
return;