summaryrefslogtreecommitdiff
path: root/src/net/eathena/playerrecv.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-17 02:33:41 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-17 02:33:41 +0300
commit1be5a1cd679a5476e1ad3339c01a8b7237b84aec (patch)
tree8fcbe25cd0444185f66e3d22ae31000aaa28173a /src/net/eathena/playerrecv.cpp
parente91a8c39e38cddb085320ae390cf985a73eaee5c (diff)
downloadManaVerse-1be5a1cd679a5476e1ad3339c01a8b7237b84aec.tar.gz
ManaVerse-1be5a1cd679a5476e1ad3339c01a8b7237b84aec.tar.bz2
ManaVerse-1be5a1cd679a5476e1ad3339c01a8b7237b84aec.tar.xz
ManaVerse-1be5a1cd679a5476e1ad3339c01a8b7237b84aec.zip
Remove default parameter from PlayerInfo::setStatMod.
Diffstat (limited to 'src/net/eathena/playerrecv.cpp')
-rw-r--r--src/net/eathena/playerrecv.cpp16
1 files changed, 11 insertions, 5 deletions
diff --git a/src/net/eathena/playerrecv.cpp b/src/net/eathena/playerrecv.cpp
index 802563b97..397b93f22 100644
--- a/src/net/eathena/playerrecv.cpp
+++ b/src/net/eathena/playerrecv.cpp
@@ -158,26 +158,31 @@ void PlayerRecv::processPlayerStatUpdate5(Net::MessageIn &msg)
msg.readInt16("left atk"),
Notify_false);
PlayerInfo::setStatMod(Attributes::PLAYER_ATK,
- msg.readInt16("right atk"));
+ msg.readInt16("right atk"),
+ Notify_true);
PlayerInfo::updateAttrs();
val = msg.readInt16("right matk");
PlayerInfo::setStatBase(Attributes::PLAYER_MATK, val, Notify_false);
val = msg.readInt16("left matk");
- PlayerInfo::setStatMod(Attributes::PLAYER_MATK, val);
+ PlayerInfo::setStatMod(Attributes::PLAYER_MATK,
+ val,
+ Notify_true);
PlayerInfo::setStatBase(Attributes::PLAYER_DEF,
msg.readInt16("left def"),
Notify_false);
PlayerInfo::setStatMod(Attributes::PLAYER_DEF,
- msg.readInt16("right def"));
+ msg.readInt16("right def"),
+ Notify_true);
PlayerInfo::setStatBase(Attributes::PLAYER_MDEF,
msg.readInt16("left mdef"),
Notify_false);
PlayerInfo::setStatMod(Attributes::PLAYER_MDEF,
- msg.readInt16("right mdef"));
+ msg.readInt16("right mdef"),
+ Notify_true);
PlayerInfo::setStatBase(Attributes::PLAYER_HIT,
msg.readInt16("hit"),
@@ -187,7 +192,8 @@ void PlayerRecv::processPlayerStatUpdate5(Net::MessageIn &msg)
msg.readInt16("flee"),
Notify_false);
PlayerInfo::setStatMod(Attributes::PLAYER_FLEE,
- msg.readInt16("flee2/10"));
+ msg.readInt16("flee2/10"),
+ Notify_true);
PlayerInfo::setStatBase(Attributes::PLAYER_CRIT,
msg.readInt16("crit/10"),