summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/ea/inventoryhandler.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/ea/inventoryhandler.cpp b/src/net/ea/inventoryhandler.cpp
index 46f87f089..21ad9139a 100644
--- a/src/net/ea/inventoryhandler.cpp
+++ b/src/net/ea/inventoryhandler.cpp
@@ -27,6 +27,7 @@
#include "being/attributes.h"
#include "being/localplayer.h"
+#include "being/pickup.h"
#include "net/messagein.h"
@@ -321,7 +322,7 @@ void InventoryHandler::processPlayerInventoryAdd(Net::MessageIn &msg)
if (player_node)
{
player_node->pickedUp(itemInfo, amount,
- identified, floorId, PICKUP_OKAY);
+ identified, floorId, Pickup::OKAY);
}
if (inventory)