From 1e7765d68db49cae92d30f946c2039c37ee9a3e1 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 22 Sep 2014 21:10:55 +0300 Subject: eathena: reset menu after selecting egg. --- src/net/eathena/inventoryhandler.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/net/eathena/inventoryhandler.cpp b/src/net/eathena/inventoryhandler.cpp index 7717586f3..c028a472e 100644 --- a/src/net/eathena/inventoryhandler.cpp +++ b/src/net/eathena/inventoryhandler.cpp @@ -32,6 +32,7 @@ #include "net/net.h" #include "net/serverfeatures.h" +#include "net/eathena/menu.h" #include "net/eathena/messageout.h" #include "net/eathena/protocol.h" @@ -594,6 +595,7 @@ void InventoryHandler::selectEgg(const Item *const item) const createOutPacket(CMSG_PET_SELECT_EGG); outMsg.writeInt16(static_cast( item->getInvIndex() + INVENTORY_OFFSET), "index"); + menu = MenuType::Unknown; } } // namespace EAthena -- cgit v1.2.3-60-g2f50