diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-08-29 16:56:45 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-08-29 16:56:45 +0300 |
commit | 973606a6dbd201050b7d4cd0a6a782ff742056f6 (patch) | |
tree | 4f951409d7dbde5eb201bf3c6b46f777c3ce39b8 /src/net/eathena/inventoryrecv.cpp | |
parent | d528e58cdbd306a828882eb68855e81dda2a3e62 (diff) | |
download | mv-973606a6dbd201050b7d4cd0a6a782ff742056f6.tar.gz mv-973606a6dbd201050b7d4cd0a6a782ff742056f6.tar.bz2 mv-973606a6dbd201050b7d4cd0a6a782ff742056f6.tar.xz mv-973606a6dbd201050b7d4cd0a6a782ff742056f6.zip |
Fix code style.
Diffstat (limited to 'src/net/eathena/inventoryrecv.cpp')
-rw-r--r-- | src/net/eathena/inventoryrecv.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/net/eathena/inventoryrecv.cpp b/src/net/eathena/inventoryrecv.cpp index 186e34cbd..83350a449 100644 --- a/src/net/eathena/inventoryrecv.cpp +++ b/src/net/eathena/inventoryrecv.cpp @@ -27,8 +27,6 @@ #include "being/localplayer.h" -#include "enums/equipslot.h" - #include "enums/resources/notifytypes.h" #include "gui/popups/itempopup.h" @@ -39,10 +37,12 @@ #include "listeners/arrowslistener.h" +#include "net/inventoryhandler.h" + +#include "net/messagein.h" + #include "net/eathena/itemflags.h" #include "net/eathena/menu.h" -#include "net/eathena/messageout.h" -#include "net/eathena/protocol.h" #include "net/ea/eaprotocol.h" #include "net/ea/equipbackend.h" @@ -903,7 +903,7 @@ void InventoryRecv::processFavoriteItem(Net::MessageIn &msg) void InventoryRecv::processCartAddError(Net::MessageIn &msg) { - switch(msg.readUInt8("flag")) + switch (msg.readUInt8("flag")) { case 0: NotifyManager::notify(NotifyTypes::CART_ADD_WEIGHT_ERROR); |