summaryrefslogtreecommitdiff
path: root/src/net/itemhandler.cpp
diff options
context:
space:
mode:
authorGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-01-03 23:18:50 +0000
committerGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-01-03 23:18:50 +0000
commite160ba567bf3d2ae915e67c12c13e213c1a32a62 (patch)
tree4edead7bdce9e7d329cc0cb35a34e2a7864e39b4 /src/net/itemhandler.cpp
parent0af87580d604b43a0b3e46354583c956f42b7cae (diff)
downloadmana-e160ba567bf3d2ae915e67c12c13e213c1a32a62.tar.gz
mana-e160ba567bf3d2ae915e67c12c13e213c1a32a62.tar.bz2
mana-e160ba567bf3d2ae915e67c12c13e213c1a32a62.tar.xz
mana-e160ba567bf3d2ae915e67c12c13e213c1a32a62.zip
Added message for new items.
Diffstat (limited to 'src/net/itemhandler.cpp')
-rw-r--r--src/net/itemhandler.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/itemhandler.cpp b/src/net/itemhandler.cpp
index fffb3a45..7c4d3940 100644
--- a/src/net/itemhandler.cpp
+++ b/src/net/itemhandler.cpp
@@ -33,6 +33,7 @@ ItemHandler::ItemHandler()
{
static const Uint16 _messages[] = {
GPMSG_ITEMS,
+ GPMSG_ITEM_APPEAR,
0
};
handledMessages = _messages;
@@ -42,6 +43,7 @@ void ItemHandler::handleMessage(MessageIn &msg)
{
switch (msg.getId())
{
+ case GPMSG_ITEM_APPEAR:
case GPMSG_ITEMS:
{
while (msg.getUnreadLength())