summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-13 16:32:55 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-13 16:32:55 +0300
commit467455bf7907411918d8fb6f4113eb95df443a29 (patch)
tree5bd754447f8324514ede595494c0dae26af356e5 /src/net
parent3bbf7407ac14ec84329ad85fd8552e36872b3476 (diff)
downloadmv-467455bf7907411918d8fb6f4113eb95df443a29.tar.gz
mv-467455bf7907411918d8fb6f4113eb95df443a29.tar.bz2
mv-467455bf7907411918d8fb6f4113eb95df443a29.tar.xz
mv-467455bf7907411918d8fb6f4113eb95df443a29.zip
Move pickup flags into separate file.
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)