From e160ba567bf3d2ae915e67c12c13e213c1a32a62 Mon Sep 17 00:00:00 2001 From: Guillaume Melquiond Date: Wed, 3 Jan 2007 23:18:50 +0000 Subject: Added message for new items. --- src/net/itemhandler.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/net/itemhandler.cpp') 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()) -- cgit v1.2.3-70-g09d2