summaryrefslogtreecommitdiff
path: root/src/net/eathena/inventoryrecv.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-09-26 01:17:13 +0300
committerAndrei Karas <akaras@inbox.ru>2018-09-26 01:17:13 +0300
commit736f10a4310e861dd9a2a712ab9209fad7c92fe8 (patch)
treef39885576e0b9f08df28a0bf0e36239d1cff36dc /src/net/eathena/inventoryrecv.cpp
parentffd17ba339d1d7b65481c736839978380093e70c (diff)
downloadmanaplus-736f10a4310e861dd9a2a712ab9209fad7c92fe8.tar.gz
manaplus-736f10a4310e861dd9a2a712ab9209fad7c92fe8.tar.bz2
manaplus-736f10a4310e861dd9a2a712ab9209fad7c92fe8.tar.xz
manaplus-736f10a4310e861dd9a2a712ab9209fad7c92fe8.zip
Add packet SMSG_OVERWEIGHT_PERCENT 0x0ade.
Diffstat (limited to 'src/net/eathena/inventoryrecv.cpp')
-rw-r--r--src/net/eathena/inventoryrecv.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/net/eathena/inventoryrecv.cpp b/src/net/eathena/inventoryrecv.cpp
index dbf7b8610..45593aba1 100644
--- a/src/net/eathena/inventoryrecv.cpp
+++ b/src/net/eathena/inventoryrecv.cpp
@@ -26,6 +26,7 @@
#include "notifymanager.h"
#include "itemcolormanager.h"
#include "itemsoundmanager.h"
+#include "settings.h"
#include "being/localplayer.h"
@@ -1506,4 +1507,9 @@ void InventoryRecv::processItemMoveFailed(Net::MessageIn &msg)
}
}
+void InventoryRecv::processOverWeightPercent(Net::MessageIn &msg)
+{
+ settings.overweightPercent = msg.readUInt32("parcent");
+}
+
} // namespace EAthena