summaryrefslogtreecommitdiff
path: root/src/net/eathena/mercenaryrecv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/mercenaryrecv.cpp')
-rw-r--r--src/net/eathena/mercenaryrecv.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/eathena/mercenaryrecv.cpp b/src/net/eathena/mercenaryrecv.cpp
index 350ba5967..3f338e61a 100644
--- a/src/net/eathena/mercenaryrecv.cpp
+++ b/src/net/eathena/mercenaryrecv.cpp
@@ -90,6 +90,8 @@ void MercenaryRecv::processMercenaryInfo(Net::MessageIn &msg)
const int range = msg.readInt16("attack range");
PlayerInfo::setStatBase(Attributes::MERC_ATTACK_RANGE,
range);
+ PlayerInfo::updateAttrs();
+
if (dstBeing && localPlayer)
{
MercenaryInfo *const mercenary = new MercenaryInfo;