summaryrefslogtreecommitdiff
path: root/src/net/ea/inventoryrecv.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-07-25 02:30:47 +0300
committerAndrei Karas <akaras@inbox.ru>2016-07-25 02:30:47 +0300
commitc9795055ee1b6079ef9b0c0e3faf4bb79704bd98 (patch)
tree147357b76a80705cf0af7bc1ec69cf417ef94812 /src/net/ea/inventoryrecv.cpp
parent1e5a50f6c67cd20967e139320a6c00f54e15dfe2 (diff)
downloadmanaverse-c9795055ee1b6079ef9b0c0e3faf4bb79704bd98.tar.gz
manaverse-c9795055ee1b6079ef9b0c0e3faf4bb79704bd98.tar.bz2
manaverse-c9795055ee1b6079ef9b0c0e3faf4bb79704bd98.tar.xz
manaverse-c9795055ee1b6079ef9b0c0e3faf4bb79704bd98.zip
Add into player attributes prefix PLAYER_.
Diffstat (limited to 'src/net/ea/inventoryrecv.cpp')
-rw-r--r--src/net/ea/inventoryrecv.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/ea/inventoryrecv.cpp b/src/net/ea/inventoryrecv.cpp
index 3910011d4..dbbe38c75 100644
--- a/src/net/ea/inventoryrecv.cpp
+++ b/src/net/ea/inventoryrecv.cpp
@@ -171,8 +171,8 @@ void InventoryRecv::processPlayerAttackRange(Net::MessageIn &msg)
const int range = msg.readInt16("range");
if (localPlayer)
localPlayer->setAttackRange(range);
- PlayerInfo::setStatBase(Attributes::ATTACK_RANGE, range);
- PlayerInfo::setStatMod(Attributes::ATTACK_RANGE, 0);
+ PlayerInfo::setStatBase(Attributes::PLAYER_ATTACK_RANGE, range);
+ PlayerInfo::setStatMod(Attributes::PLAYER_ATTACK_RANGE, 0);
BLOCK_END("InventoryRecv::processPlayerAttackRange")
}