summaryrefslogtreecommitdiff
path: root/src/net/ea/playerrecv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/ea/playerrecv.cpp')
-rw-r--r--src/net/ea/playerrecv.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/ea/playerrecv.cpp b/src/net/ea/playerrecv.cpp
index 8035b9612..7a3b448f7 100644
--- a/src/net/ea/playerrecv.cpp
+++ b/src/net/ea/playerrecv.cpp
@@ -181,9 +181,9 @@ void PlayerRecv::processPlayerStatUpdate4(Net::MessageIn &msg)
{
const int oldValue = PlayerInfo::getStatBase(
static_cast<AttributesT>(type));
- const int points = PlayerInfo::getAttribute(Attributes::CHAR_POINTS)
- + oldValue - value;
- PlayerInfo::setAttribute(Attributes::CHAR_POINTS, points);
+ const int points = PlayerInfo::getAttribute(
+ Attributes::PLAYER_CHAR_POINTS) + oldValue - value;
+ PlayerInfo::setAttribute(Attributes::PLAYER_CHAR_POINTS, points);
NotifyManager::notify(NotifyTypes::SKILL_RAISE_ERROR);
}