summaryrefslogtreecommitdiff
path: root/src/net/ea/inventoryrecv.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-17 02:07:28 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-17 02:07:28 +0300
commite91a8c39e38cddb085320ae390cf985a73eaee5c (patch)
treeb407ed97d8feda93743ab1347a11692dfd979353 /src/net/ea/inventoryrecv.cpp
parentddf3a130e1db0417d2dad77f69d6aa95028024d6 (diff)
downloadmanaverse-e91a8c39e38cddb085320ae390cf985a73eaee5c.tar.gz
manaverse-e91a8c39e38cddb085320ae390cf985a73eaee5c.tar.bz2
manaverse-e91a8c39e38cddb085320ae390cf985a73eaee5c.tar.xz
manaverse-e91a8c39e38cddb085320ae390cf985a73eaee5c.zip
Remove default parameter from PlayerInfo::setStatBase.
Diffstat (limited to 'src/net/ea/inventoryrecv.cpp')
-rw-r--r--src/net/ea/inventoryrecv.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/net/ea/inventoryrecv.cpp b/src/net/ea/inventoryrecv.cpp
index 3e8c239e9..839447496 100644
--- a/src/net/ea/inventoryrecv.cpp
+++ b/src/net/ea/inventoryrecv.cpp
@@ -172,7 +172,9 @@ void InventoryRecv::processPlayerAttackRange(Net::MessageIn &msg)
const int range = msg.readInt16("range");
if (localPlayer != nullptr)
localPlayer->setAttackRange(range);
- PlayerInfo::setStatBase(Attributes::PLAYER_ATTACK_RANGE, range);
+ PlayerInfo::setStatBase(Attributes::PLAYER_ATTACK_RANGE,
+ range,
+ Notify_true);
PlayerInfo::setStatMod(Attributes::PLAYER_ATTACK_RANGE, 0);
BLOCK_END("InventoryRecv::processPlayerAttackRange")
}