From ddf3a130e1db0417d2dad77f69d6aa95028024d6 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 17 Dec 2017 01:47:44 +0300 Subject: Remove default parameter from PlayerInfo::setAttribute. --- src/net/ea/playerrecv.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/net/ea') 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(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); } -- cgit v1.2.3-70-g09d2