summaryrefslogtreecommitdiff
path: root/src/net/ea
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
parentddf3a130e1db0417d2dad77f69d6aa95028024d6 (diff)
downloadplus-e91a8c39e38cddb085320ae390cf985a73eaee5c.tar.gz
plus-e91a8c39e38cddb085320ae390cf985a73eaee5c.tar.bz2
plus-e91a8c39e38cddb085320ae390cf985a73eaee5c.tar.xz
plus-e91a8c39e38cddb085320ae390cf985a73eaee5c.zip
Remove default parameter from PlayerInfo::setStatBase.
Diffstat (limited to 'src/net/ea')
-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")
}