diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-22 21:10:55 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-22 21:11:29 +0300 |
commit | 1e7765d68db49cae92d30f946c2039c37ee9a3e1 (patch) | |
tree | 838f45a9a27faae1280d691810d8919f55829d55 /src/net | |
parent | 1ee562da80ee76787823f5e18c9463c05e2bb524 (diff) | |
download | plus-1e7765d68db49cae92d30f946c2039c37ee9a3e1.tar.gz plus-1e7765d68db49cae92d30f946c2039c37ee9a3e1.tar.bz2 plus-1e7765d68db49cae92d30f946c2039c37ee9a3e1.tar.xz plus-1e7765d68db49cae92d30f946c2039c37ee9a3e1.zip |
eathena: reset menu after selecting egg.
Diffstat (limited to 'src/net')
-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 |