diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-17 02:07:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-17 02:07:28 +0300 |
commit | e91a8c39e38cddb085320ae390cf985a73eaee5c (patch) | |
tree | b407ed97d8feda93743ab1347a11692dfd979353 /src/net/ea | |
parent | ddf3a130e1db0417d2dad77f69d6aa95028024d6 (diff) | |
download | plus-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.cpp | 4 |
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") } |