From e91a8c39e38cddb085320ae390cf985a73eaee5c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 17 Dec 2017 02:07:28 +0300 Subject: Remove default parameter from PlayerInfo::setStatBase. --- src/net/eathena/elementalrecv.cpp | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'src/net/eathena/elementalrecv.cpp') diff --git a/src/net/eathena/elementalrecv.cpp b/src/net/eathena/elementalrecv.cpp index d5e0c6d18..25595f7ef 100644 --- a/src/net/eathena/elementalrecv.cpp +++ b/src/net/eathena/elementalrecv.cpp @@ -36,7 +36,8 @@ namespace EAthena #define setElementalStat(sp, stat) \ case sp: \ PlayerInfo::setStatBase(stat, \ - val); \ + val, \ + Notify_true); \ break; void ElementalRecv::processElementalUpdateStatus(Net::MessageIn &msg) @@ -60,13 +61,17 @@ void ElementalRecv::processElementalInfo(Net::MessageIn &msg) { const BeingId id = msg.readBeingId("elemental id"); PlayerInfo::setStatBase(Attributes::ELEMENTAL_HP, - msg.readInt32("hp")); + msg.readInt32("hp"), + Notify_true); PlayerInfo::setStatBase(Attributes::ELEMENTAL_MAX_HP, - msg.readInt32("max hp")); + msg.readInt32("max hp"), + Notify_true); PlayerInfo::setStatBase(Attributes::ELEMENTAL_MP, - msg.readInt32("sp")); + msg.readInt32("sp"), + Notify_true); PlayerInfo::setStatBase(Attributes::ELEMENTAL_MAX_MP, - msg.readInt32("max sp")); + msg.readInt32("max sp"), + Notify_true); PlayerInfo::setElemental(id); } -- cgit v1.2.3-70-g09d2