summaryrefslogtreecommitdiff
path: root/src/net/ea/playerrecv.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-17 01:47:44 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-17 01:47:44 +0300
commitddf3a130e1db0417d2dad77f69d6aa95028024d6 (patch)
treecf40b5a2d124612572507855b154fde4305646c9 /src/net/ea/playerrecv.cpp
parent3a360e0ae954df7cc467ea76ed9022fd520497d7 (diff)
downloadmv-ddf3a130e1db0417d2dad77f69d6aa95028024d6.tar.gz
mv-ddf3a130e1db0417d2dad77f69d6aa95028024d6.tar.bz2
mv-ddf3a130e1db0417d2dad77f69d6aa95028024d6.tar.xz
mv-ddf3a130e1db0417d2dad77f69d6aa95028024d6.zip
Remove default parameter from PlayerInfo::setAttribute.
Diffstat (limited to 'src/net/ea/playerrecv.cpp')
-rw-r--r--src/net/ea/playerrecv.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/net/ea/playerrecv.cpp b/src/net/ea/playerrecv.cpp
index edc604907..2f0e5782f 100644
--- a/src/net/ea/playerrecv.cpp
+++ b/src/net/ea/playerrecv.cpp
@@ -183,7 +183,9 @@ void PlayerRecv::processPlayerStatUpdate4(Net::MessageIn &msg)
static_cast<AttributesT>(type));
const int points = PlayerInfo::getAttribute(
Attributes::PLAYER_CHAR_POINTS) + oldValue - value;
- PlayerInfo::setAttribute(Attributes::PLAYER_CHAR_POINTS, points);
+ PlayerInfo::setAttribute(Attributes::PLAYER_CHAR_POINTS,
+ points,
+ Notify_true);
NotifyManager::notify(NotifyTypes::SKILL_RAISE_ERROR);
}