From 736f10a4310e861dd9a2a712ab9209fad7c92fe8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 26 Sep 2018 01:17:13 +0300 Subject: Add packet SMSG_OVERWEIGHT_PERCENT 0x0ade. --- src/net/eathena/inventoryrecv.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/net/eathena/inventoryrecv.cpp') 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 -- cgit v1.2.3-70-g09d2