diff options
Diffstat (limited to 'src/net/eathena')
-rw-r--r-- | src/net/eathena/inventoryhandler.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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<int16_t>( item->getInvIndex() + INVENTORY_OFFSET), "index"); + menu = MenuType::Unknown; } } // namespace EAthena |