summaryrefslogtreecommitdiff
path: root/src/net/eathena/inventoryrecv.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-17 01:47:44 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-17 01:47:44 +0300
commitddf3a130e1db0417d2dad77f69d6aa95028024d6 (patch)
treecf40b5a2d124612572507855b154fde4305646c9 /src/net/eathena/inventoryrecv.cpp
parent3a360e0ae954df7cc467ea76ed9022fd520497d7 (diff)
downloadplus-ddf3a130e1db0417d2dad77f69d6aa95028024d6.tar.gz
plus-ddf3a130e1db0417d2dad77f69d6aa95028024d6.tar.bz2
plus-ddf3a130e1db0417d2dad77f69d6aa95028024d6.tar.xz
plus-ddf3a130e1db0417d2dad77f69d6aa95028024d6.zip
Remove default parameter from PlayerInfo::setAttribute.
Diffstat (limited to 'src/net/eathena/inventoryrecv.cpp')
-rw-r--r--src/net/eathena/inventoryrecv.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/net/eathena/inventoryrecv.cpp b/src/net/eathena/inventoryrecv.cpp
index ead74ad63..30ff720eb 100644
--- a/src/net/eathena/inventoryrecv.cpp
+++ b/src/net/eathena/inventoryrecv.cpp
@@ -912,9 +912,11 @@ void InventoryRecv::processCartInfo(Net::MessageIn &msg)
msg.readInt16("cart items used");
const int size = msg.readInt16("max cart items");
PlayerInfo::setAttribute(Attributes::CART_TOTAL_WEIGHT,
- msg.readInt32("cart weight"));
+ msg.readInt32("cart weight"),
+ Notify_true);
PlayerInfo::setAttribute(Attributes::CART_MAX_WEIGHT,
- msg.readInt32("max cart weight"));
+ msg.readInt32("max cart weight"),
+ Notify_true);
if (mCartItems.empty())
return;