diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-17 02:07:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-17 02:07:28 +0300 |
commit | e91a8c39e38cddb085320ae390cf985a73eaee5c (patch) | |
tree | b407ed97d8feda93743ab1347a11692dfd979353 /src/net/eathena/elementalrecv.cpp | |
parent | ddf3a130e1db0417d2dad77f69d6aa95028024d6 (diff) | |
download | mv-e91a8c39e38cddb085320ae390cf985a73eaee5c.tar.gz mv-e91a8c39e38cddb085320ae390cf985a73eaee5c.tar.bz2 mv-e91a8c39e38cddb085320ae390cf985a73eaee5c.tar.xz mv-e91a8c39e38cddb085320ae390cf985a73eaee5c.zip |
Remove default parameter from PlayerInfo::setStatBase.
Diffstat (limited to 'src/net/eathena/elementalrecv.cpp')
-rw-r--r-- | src/net/eathena/elementalrecv.cpp | 15 |
1 files changed, 10 insertions, 5 deletions
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); } |