summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/ea/inventoryhandler.cpp8
-rw-r--r--src/net/eathena/partyrecv.cpp1
2 files changed, 6 insertions, 3 deletions
diff --git a/src/net/ea/inventoryhandler.cpp b/src/net/ea/inventoryhandler.cpp
index b1aa87020..44931ae8a 100644
--- a/src/net/ea/inventoryhandler.cpp
+++ b/src/net/ea/inventoryhandler.cpp
@@ -91,9 +91,13 @@ size_t InventoryHandler::getSize(const InventoryTypeT type) const
return 0; // Comes from server after items
case InventoryType::Trade:
return 12;
- // GUILD_STORAGE
+ case InventoryType::Npc:
+#ifdef EATHENA_SUPPORT
+ case InventoryType::Cart:
+ case InventoryType::Vending:
+ case InventoryType::Mail:
+#endif
case InventoryType::TypeEnd:
- return 0; // Comes from server after items
default:
return 0;
}
diff --git a/src/net/eathena/partyrecv.cpp b/src/net/eathena/partyrecv.cpp
index 3763eb1f5..ebe7e753c 100644
--- a/src/net/eathena/partyrecv.cpp
+++ b/src/net/eathena/partyrecv.cpp
@@ -21,7 +21,6 @@
#include "net/eathena/partyrecv.h"
-#include "actormanager.h"
#include "notifymanager.h"
#include "party.h"